update readme - usage section

This commit is contained in:
dominik24c 2022-10-25 20:35:12 +02:00
parent d56226ccc5
commit 8f6a3d96e5

View File

@ -1,9 +1,11 @@
# system-pri
# System-pri
System organizacji PRI
## Usage
First create `.env` file and fill with similar data like `./backend/.env.example`.
Run application and init database
```bash
docker-compose up -d --build
@ -20,15 +22,3 @@ Show logs
```bash
docker-compose logs -f
```
## Development
Run concrete commands: \
For backend:
```bash
docker-compose exec backend flask db migrate
```
For frontend:
```bash
docker-compose exec frontend npm i bootstrap@4
```