Merge pull request #14 from mokkin/patch-1

Improve README
This commit is contained in:
Alex van Andel 2021-09-10 01:24:24 +01:00 committed by GitHub
commit dcd0c07ea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,23 +19,27 @@ Make sure you have `docker` & `docker-compose` installed on the server / system.
1. Clone calendso-docker 1. Clone calendso-docker
```bash ```bash
git clone git@github.com:calendso/calendso-docker.git --recursive git clone --recursive https://github.com/calendso/docker.git calendso-docker
``` ```
2. Change into the directory
2. Update `.env` if needed ```bash
cd calendso-docker
```
3. Update `.env` if needed
3. Build and start calendso 4. Build and start calendso
``` ```
docker-compose up --build docker-compose up --build
``` ```
4. Start prisma studio 5. Start prisma studio
``` ```
docker-compose exec calendso npx 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. 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. 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. 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. 9. Open a browser to [http://localhost:3000](http://localhost:3000) and login with your just created, first user.