deploy calendso using docker-compose

Signed-off-by: Ramiro Berrelleza <rberrelleza@gmail.com>
This commit is contained in:
Ramiro Berrelleza
2021-07-02 16:12:08 -07:00
parent 5061939dc8
commit 04d9936e65
6 changed files with 289 additions and 4 deletions

View File

@ -18,8 +18,24 @@ Make sure you have `docker` & `docker-compose` installed on the server / system.
1. Clone calendso-docker
```bash
git clone git@github.com:calendso/calendso-docker.git --recursive
```
```bash
git clone git@github.com:calendso/calendso-docker.git --recursive
```
...
2. Update `.env` if needed
3. Build and start calendso
```
docker-compose up --build
```
4. Start prisma studio
```
docker-compose exec calendso -- npx prisma studio
```
5. Open a browser to [http://localhost:5555](http://localhost:5555) to look at or modify the database content.
6. Click on the `User` model to add a new user record.
7. Fill out the fields (remembering to encrypt your password with [BCrypt](https://bcrypt-generator.com/)) and click `Save 1 Record` to create your first user.
8. Open a browser to [http://localhost:3000](http://localhost:3000) and login with your just created, first user.