reduced indent

This commit is contained in:
Miodec 2022-10-17 22:33:47 +02:00
parent 4d05d61b59
commit 0f1f7bc6b0

View file

@ -105,31 +105,29 @@ Run `npm run install-all` in the project root to install all dependencies.
- If you are on Windows, use `npm run install-windows`.
- If neither works, you will have to run `npm install` in root, frontend, and backend directories.
Then, you are ready to build and run Monkeytype:
Then, you are ready to build and run Monkeytype. If you are using Docker, run this to start the frontend server:
- If you are using Docker, run this to start the frontend server:
```bash
cd frontend && docker-compose up
```
```bash
cd frontend && docker-compose up
```
and this to run the backend (in another terminal window):
and this to run the backend (in another terminal window):
```bash
cd backend && docker-compose up
```
```bash
cd backend && docker-compose up
```
If you are **_not_** using Docker, run this:
- If you are **_not_** using Docker, run this:
```bash
npm run dev
```
```bash
npm run dev
```
If you skipped the Backend section, use this to only run the frontend:
If you skipped the Backend section, use this to only run the frontend:
```bash
npm run dev-fe
```
```bash
npm run dev-fe
```
These commands will start a local dev server on [port 3000](http://localhost:3000). It will watch for changes and rebuild when you edit files in `src/` or `public/` directories. Use `Ctrl+C` to stop it.