Skip to content

etcaterva/eas-backend

Repository files navigation

Build Status Coverage Status

EAS Backend services

Working locally

Set up local environment

python3.8 -m venv .venv
source .venv/bin/activate
pip install -r requirements/local.txt

./manage.py makemigrations

Validate Changes

make lint
make test

Run a local version

make runlocal

If you need to send emails, when calling make runlocal, set the EAS_AWS_KEY_SECRET environment variable.

If you need to to use instagram, when calling make runlocal, set the EAS_INSTAGRAM_EMAIL_USERNAME to an instagram user email and create a eas-instagram.pass file at the repo root with the password.

Working on the swagger file

docker pull swaggerapi/swagger-editor
docker run -d -p 8080:8080 swaggerapi/swagger-editor

Run dev version

docker-componse build
docker-compose run web python manage.py makemigrrations
docker-compose run web python manage.py migrate
docker-compose up

About

Backend services for EchaloASuerte.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages