Vercel
Requirements
Currently Vercel Pro Plan is required to be able to Deploy this application with Vercel, due to limitations on the number of serverless functions on the free plan.
You need a PostgresDB database hosted somewhere. Supabase offer a great free option while Heroku offers a low-cost option.
One Click Deployment
Manual Deployment
Local settings
Fork and clone the repository
Set environment variables
Copy the .env.example
file in apps/web
, rename it to .env
and fill it with your settings (See manual setup and Obtaining the Google API Credentials)
Install packages with yarn
Set up the database using the Prisma schema
Schema is located in at packages/prisma/schema.prisma
.
Open [Prisma Studio](https://www.prisma.io/studio)
To look at or modify the database content
Open User model
Click on the User
model to add a new user record.
Create new user
Fill out the fields (remembering to encrypt your password with BCrypt) and click Save 1 Record
to create your first user.
Login
Open a browser to port 3000 on your localhost and login with your just created, first user.
Sometimes, yarn install might fail during deployment on Vercel, in which case, you can use YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
as the install command instead.
Deployment
Create a new project on Vercel
Import from your forked repository
Set the Environment Variables
Set the root directory to `apps/web`
Override the build command
Override to:
Hit Deploy
Was this page helpful?