update readme - usage section
This commit is contained in:
parent
d56226ccc5
commit
8f6a3d96e5
16
README.md
16
README.md
@ -1,9 +1,11 @@
|
|||||||
# system-pri
|
# System-pri
|
||||||
|
|
||||||
System organizacji PRI
|
System organizacji PRI
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
First create `.env` file and fill with similar data like `./backend/.env.example`.
|
||||||
|
|
||||||
Run application and init database
|
Run application and init database
|
||||||
```bash
|
```bash
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
@ -20,15 +22,3 @@ Show logs
|
|||||||
```bash
|
```bash
|
||||||
docker-compose logs -f
|
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
|
|
||||||
```
|
|
Loading…
Reference in New Issue
Block a user