backend/README.md
Kai Vogelgesang 8e328d7634
All checks were successful
continuous-integration/drone/push Build is passing
Add CI
2022-10-04 15:54:59 +02:00

30 lines
635 B
Markdown

# Backend
[![Build Status](https://drone.eterna.leafbla.de/api/badges/partypages/backend/status.svg)](https://drone.eterna.leafbla.de/partypages/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