You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optional* - Join the team on Vercel with your GitHub account.
Instructions
Clone this repository
Install pnpm with
Corepack by running
corepack enable; corepack prepare
Install dependencies by running pnpm install
Optional* - Link local project to its Vercel project by running pnpm vercel link
Optional* - Download environment variables by running pnpm env:pull
* Running the website is possible with the default environment variables available in .env.development. Fetching other environment variables is only necessary if working on features that require them.
Developing
Running the App
Development Mode
To start the app in development mode, run the following command:
$ pnpm dev
This will start a local server that will automatically rebuild the app and refresh the page when you
make changes to the code. The app will be available at
https://localhost:3001.
This is how you will run the app most of the time.
Production Mode
To run the app in production mode, run the following commands in order:
# Build the app for production usage
$ pnpm build
# Start the app in production mode
$ pnpm start
This can be useful for testing the app in production mode locally.
Environment Variables
Environment variables are managed with the Vercel CLI. Use the
following commands to manage them:
# Download the latest development environment variables
$ pnpm env:pull
# Add a new environment variable
$ pnpm env:add
# Remove an environment variable
$ pnpm env:rm
You should never commit environment variables to the repository. If you need to add a new
environment variable, add it with the pnpm env:add command and then download it with the
pnpm env:pull command.