- Node.js LTS (>v20.x)
- An Heroku account
- Heroku CLI
Install pnpm
corepack install -g pnpm@latest
Note
If corepack
is not installed you can run npm install -g corepack
Install dependencies by running:
Warning
Don't mix pnpm
and npm
, pnpm
is more performant and have better cache
Install dependencies by running:
Note
If you don't have pnpm
install it by running corepack install -g pnpm
pnpm install
Create an Heroku application with:
heroku create <app-name>
Run the project locally with:
pnpm run dev
Before running the project, you need to set up the environment variables.
Note
For a complete list of required environment variables, please refer to the sample .env file included in the repository.
To manually deploy to Heroku you can run:
git push heroku main