项目作者: davitovmasyan

项目描述 :
Django project boilerplate
高级语言: Python
项目地址: git://github.com/davitovmasyan/dj-project.git
创建时间: 2018-04-14T09:04:02Z
项目社区:https://github.com/davitovmasyan/dj-project

开源协议:MIT License

下载


Django Project Template

Python3.8 Django4 Celery4 Postgres12 Redis6 Ansible

Setup

Make sure you have docker and docker-compose installed on your machine.

Commands

To build the project

  1. make

To run the project

  1. make run

To jump into container

  1. $ make shell
  2. root@<containerid>:/project#

To setup git hooks

  1. python3 -m pip install -r requirements/requirements-test.txt
  2. ln -s ../../pre-commit .git/hooks/pre-commit

To run tests

  1. make test

To see coverage report

  1. make report

To build coverage report html

  1. make report-html

To check import ordering

  1. make check-sort

To fix import ordering

  1. make sort

To stop running containers

  1. make stop