28 lines
490 B
Markdown
28 lines
490 B
Markdown
# Backend
|
|
|
|
## Installation
|
|
|
|
```
|
|
$ poetry install
|
|
```
|
|
|
|
Requires [poetry](https://archlinux.org/packages/community/any/python-poetry/)
|
|
|
|
## Running (dev)
|
|
|
|
1. Make sure the database is running
|
|
```
|
|
$ pushd db
|
|
$ docker-compose up -d
|
|
$ popd
|
|
```
|
|
|
|
2. Start the application
|
|
```
|
|
$ poetry run hypercorn backend:app --reload
|
|
```
|
|
|
|
3. Now you can go to
|
|
- [localhost:8000](http://localhost:8000) for the application
|
|
- [localhost:8081](http://localhost:8081) for mongo express
|