Installation

git clone git@github.com:sebastienbarbier/seven23_server.git

Virtual env (optional)

virtualenv -p python3 apps
source apps/bin/activate

Dependencies

pip install -r requirements.txt

Note

Dependencies related to documentation has been separated to a different file and need to run pip install -r requirements-dev.txt

Migration

Configure in settings.py access to your database, then run:

python manage.py migrate
python manage.py loaddata seven23/models/currency/fixtures/initial_data.json

Run server

python manage.py runserver 0.0.0.0:8000 # or just make

Note

Because local instance do not support https, you cannot access the API using a https application.

Hint

See Using Docker and docker-compose for Docker based deployments and configuration options.