Requirements:
- Database server (primarily MySQL, sqlite3 for smaller installations)
- Static file webserver
Install:
pip install -e git+https://github.com/0xdc/estuary#egg=estuary
Development:
alembic upgrade head
(cd static; npm i --dev; parcel serve *.html) &
DEBUG=1 python -mestuary
Production:
(cd static; npm i --dev; npm run build)
uvicorn estuary.asgi:app
Create migrations:
alembic revision --autogenerate -m "message"
Test:
pip install -e .[test]
coverage run -m pytest
coverage report -m --include="estuary/*,migrations/*,tests/*"