Files
amap/backend/README.md
JulienAldon 242e29c8a6
Some checks failed
Deploy Amap / deploy (push) Has been cancelled
add workflow
2026-02-19 23:38:26 +01:00

37 lines
779 B
Markdown

# backend
[![PyPI - Version](https://img.shields.io/pypi/v/backend.svg)](https://pypi.org/project/backend)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/backend.svg)](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
On first installation copy the `alembic.ini.example` to `alembic.ini`
#### 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.