# publite backend

publite

## Overview Backend for online ebook viewer publite ## Deploy Run app locally (development only!) ```bash # install requirements pip install -r requirements/dev.txt # run app with uvicorn uvicorn app.main:app --reload --port ``` Run app locally (test prod) ```bash # install requirements pip install -r requirements/prod.txt # run app with uvicorn uvicorn app.main:app --port # or # run with python script python run.py ``` Simple docker deployment ```bash # build docker image docker build . -t publite_backend # run it with docker docker run -p :80 publite_backend ``` Dokku deployment with image from Docker Hub ```bash dokku apps:create publitebackend dokku git:from-image publitebackend publite/backend:latest ```