Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 871 Bytes

README.md

File metadata and controls

65 lines (45 loc) · 871 Bytes

Django

To run the CODECOV you need to create an account, link your repository and add the TOKEN in github actions environment.

Launch App

$ make install
$ make run

Sample .env.prod file:

DJANGO_SETTINGS_MODULE=myservice.settings.production
DJANGO_SECRET_KEY=areallysupersecretkey
DEBUG=False
STATIC_URL=/static/
STATIC_ROOT=static
ALLOWED_HOSTS='*','localhost'

Utilities and useful commands

  • Developer mode
$ make install && make dev
  • Docker compose

Build project and start

$ docker-compose build

Start with a pre builded project

$ docker-compose up
  • Lint and Prettify code
$ make lint
  • Coverage and test

Run only tests

$ make test

Run coverage

$ make coverage