Command line utility to build Django projects

Kapustlo 25902e0c4a Updated version to 3.3.0 %!s(int64=2) %!d(string=hai) anos
build_django 25902e0c4a Updated version to 3.3.0 %!s(int64=2) %!d(string=hai) anos
scripts f58533e9dd Added helper scripts %!s(int64=2) %!d(string=hai) anos
tests c7c9033fee Added git config support %!s(int64=2) %!d(string=hai) anos
.gitignore b075edfbb7 Refactoring + async support %!s(int64=2) %!d(string=hai) anos
LICENSE e2e9137eb4 Initial commit %!s(int64=2) %!d(string=hai) anos
README.md d669addbae Added USE_SSL %!s(int64=2) %!d(string=hai) anos
requirements.txt 6b50c08fdf Added pytest to deps %!s(int64=2) %!d(string=hai) anos
setup.py 47773a839c Changed programming language %!s(int64=2) %!d(string=hai) anos

README.md

build-django

Command line utility to build Django projects

Features

  • Async
  • Flexible

Installation

pip install build-django

Usage

build-django my_project --dir my_project_path  --debug --hosts localhost,127.0.0.1,example.com --python python3  --migrate --git --commit --commit-message "My first commit!" --packages bjcli djangorestframework

Argument Description Required Default Type
--version Show version and exit False False bool
--dir Django project directory False ./ str
--debug Should initialize env with DEBUG=True False False bool
--no-compile pip: Do not compile Python source files to bytecode False False bool
--hosts List of comma sperated Django ALLOWED_HOSTS values False '' str
--python Python command for initializing virtual environment. If not set, the Python used to run the program will be used False None str
--migrate Should apply initial migrations after project built False False bool
--git Should initialize git repository False False bool
--commit Should create initial commit after project built and git initialized False False bool
--commit-message Initial commit message False 'Initial commit' str
--packages List of additional pip packages to be installed False [] [str]
--use-ssl Enable SSL support for reverse proxy (production only) False False bool