forum-app/backend/README.md

12 lines
231 B
Markdown
Raw Normal View History

2024-04-01 02:16:33 +00:00
# Forum Backend
2024-04-01 02:20:31 +00:00
Build and run Docker container:
```shell
docker build -t forum-backend .
docker run --rm -d -p 8000:8000 forum-backend:latest
2024-04-01 02:16:33 +00:00
```
2024-04-01 02:20:31 +00:00
Run locally:
```shell
2024-04-01 02:16:33 +00:00
pip install -r requirements.txt
uvicorn forum:app --reload
```