To get a local copy up and running, please follow these simple steps.
Here is what you need to be able to run Calendso.
- Yarn (recommended)
Clone the repogit clone https://github.com/calendso/calendso.git
Install packages with yarnyarn install
Configure environment variables in the .env file. Replace
<db-port>with their applicable valuesDATABASE_URL='postgresql://<user>:<pass>@<db-host>:<db-port>'GOOGLE_API_CREDENTIALS='secret'
If you don't know how to configure the DATABASE_URL, then follow the steps here.
Set up the database using the Prisma schema (found in
prisma/schema.prisma)npx prisma db push --preview-feature
Run (in development mode)yarn dev
Open Prisma Studio to look at or modify the database content:npx prisma 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 http://localhost:3000 and login with your just created, first user.