- Clone the repository:
git clone https://github.com/gredice/gredice.git
- Install the dependencies:
pnpm i
- Pull environment variables
For each application, you need to pull the environment variables from Vercel. You can do this by running the following command in apps/<app-name>
directory:
vercel env pull .env.development.local
<app-name>
is the name of the application you want to pull the environment variables for. One of:
www
garden
farm
app
If you are running the command for the first time on yhe development machine, make sure you are logged in to Vercel CLI. You can do this by running:
vercel login
After that, you need to link the project to the Vercel project. You can do this by running in apps/<app-name>
directory:
vercel link
You can then proceed with pulling the environment variables.
- Start the development server in project root:
pnpm dev