system-pri/README.md

34 lines
494 B
Markdown

# system-pri
System organizacji PRI
## Usage
Run application and init database
```bash
docker-compose up -d --build
docker-compose exec backend flask db upgrade
docker-compose exec backend flask init_db
```
Turn off application
```bash
docker-compose down
```
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
```