Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 1.69 KB

README.md

File metadata and controls

59 lines (37 loc) · 1.69 KB

Deploying Zoo on Vercel

This doc will walk you through deploying Zoo on Vercel.

Using the Vercel UI

  1. Fork this repo

  2. Create a new project on Vercel Create a new project

  3. Connect your forked repo to your new project Connect your repo

  4. Configure your environment variables Configure your environment variables

  5. Deploy! This will take a few minutes. But once it's done, you'll have a URL where you can access your app. Deploy

  6. Click on it to see your app! Click on it to see your app

Using the Vercel CLI

  1. Install the Vercel CLI by running the following command in your terminal:

    npm install -g vercel
  2. Navigate to the root directory of your Zoo project using the terminal.

  3. copy the .env.example file, name it .env, and fill in your credentials.

  4. (Optional) Login to your Vercel account by running:

    vercel login
  5. Initialize the project by running:

    vercel init

    Select next-js as the framework and y when asked to override the default settings.

  6. Once the initialization is complete, you can deploy the project to Vercel by running:

    vercel

    This command will start the deployment process, and Vercel will provide you with a unique URL where your app will be accessible once deployed.

  7. Wait for the deployment to finish. It may take a few minutes, but once it's done, Vercel will display the URL of your deployed app in the terminal.

    Vercel deployment