Vercel
Requirements
You need a PostgresDB database hosted somewhere. Supabase offer a great free option while Heroku offers a low-cost option.
Getting Started
Local settings
Fork and clone the repository
git clone https://github.com/<your-fork>/cal.com.gitCopy the
.env.examplefile inapps/web, rename it to.envand fill it with your settings (See manual setup and Obtaining the Google API Credentials)Install packages with
yarnyarn installSet up the database using the Prisma schema (found in
packages/prisma/schema.prisma)yarn workspace @calcom/prisma db-deployOpen Prisma Studio to look at or modify the database content: yarn db-studio
Click on the
Usermodel to add a new user record.Fill out the fields (remembering to encrypt your password with BCrypt) and click
Save 1 Recordto create your first user.Open a browser to port 3000 on your localhost and login with your just created, first user.
Deployment
Create a new project on Vercel
Import from your forked repository
Set the Environment Variables
Set the root directory to
apps/webOverride the build command to
cd ../.. && yarn buildHit Deploy
Last updated
Was this helpful?