Haven
Description
Weaves content.
We use:
- marshmallow-jsonapi to create a JSON-api and schema validation.
- Blueprints and Flask-restful to create modular REST apis.
- PostgreSQL as our datastore.
- Alembic for migrations.
Database
Dependency on PostgreSQL.
Bootstrap
cd haven
virtualenv env
source env/bin/activate
pip install fabric
# Bootstrap your environment
fab bootstrap
# Bootstrap your database
fab bootstrap_database
fab bootstrap_database:env=test
Testing
source env/bin/activate
fab test
Running a server locally
source env/bin/activate
fab serve
Production server
TBD