36 lines
709 B
Markdown
36 lines
709 B
Markdown
# backend
|
|
|
|
[](https://pypi.org/project/backend)
|
|
[](https://pypi.org/project/backend)
|
|
|
|
-----
|
|
|
|
## Table of Contents
|
|
|
|
- [Installation](#installation)
|
|
- [License](#license)
|
|
|
|
## Installation
|
|
|
|
```console
|
|
apt install weasyprint
|
|
hatch shell
|
|
fastapi dev src/main.py
|
|
```
|
|
|
|
### Migration
|
|
This repository use `alembic` for migrations
|
|
|
|
#### Create migration
|
|
```console
|
|
alembic revision --autogenerate -m "message"
|
|
```
|
|
#### Apply migration
|
|
```console
|
|
alembic upgrade head
|
|
```
|
|
|
|
## License
|
|
|
|
`backend` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
|