diff --git a/README.md b/README.md index eef93e6..34fb052 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,31 @@ Web application for distribution of free classrooms ## Deploy + +Clone repo + +```bash +git clone https://github.com/dm1sh/roomruler.git +cd roomruler +``` + +Put [CockroachDB](https://www.cockroachlabs.com) certificate to `apps/back/certs`. Copy `apps/back/.env.example` and fill it in. So do with `apps/back/src/db/config.example.ts` + +```bash +mkdir apps/back/certs/ +cp ../cc-ca.crt apps/back/certs/ + +cp apps/back/.env.example apps/back/.env +$EDITOR apps/back/.env + +cp apps/back/src/db/config.example.ts apps/back/src/db/config.ts +$EDITOR apps/back/src/db/config.ts +``` + +Install dependencies, build and run + +```bash +npx pnpm i +npx pnpm build +npx pnpm start +``` diff --git a/logo.svg b/logo.svg new file mode 100644 index 0000000..a25b1a6 --- /dev/null +++ b/logo.svg @@ -0,0 +1,62 @@ + + + + + + + + + + + +