EYRA documentation¶
Running from Docker compose¶
- You only need in this case to have installed docker-compose in your machine.
After cloning the repository, create a folder a “postgres_data” on the main directory.
Then run up the all the backend services at once with:
docker-compose --env-file=.env.localdocker up -d --force-recreate
Setup a dev environment:¶
Use miniconda3 https://docs.conda.io/en/latest/miniconda.html
Create a virtual environment:
conda create -n comic python=3Activate environment:
conda activate comicInstall dependencies:
pip install -r requirements.txt && pip install -r requirements.dev.txtInstall our repo in edit mode:
pip install -e appInstall docker-compose:
pip install docker-composeSetup
.env:cp .env.dev .envStart containers:
docker-compose up postgres redisRun the database migrations:
cd app; python manage.py migrate; python manage.py init_db_dataInstall VSCode Python extension
Set the correct python path in
.vscode/settings.json("python.pythonPath").Launch
Python: Django, the server should start running athttp://localhost:8000.
Docs
Platform
Development
REST API