Skip to content

Backend services for EchaloASuerte.

Notifications You must be signed in to change notification settings

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

The following env vars enable additional services:

  • EAS_AWS_KEY_SECRET: Send emails (Get from AWS portal).
  • EAS_LAMADAVA_APIK: Instagram (Get from hikerapi console).
  • EAS_LAMATOK_APIK: TikTok (Get from hikerapi console).

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