Skip to main content

Rapid develop framework base on Django

Project description

Django Rework

Downloads PyPI Python Django License

Rapid develop framework base on Django

Installation

python3 -m pip install django-rework

Generic CLI Commands

Start a new project

# recommend to append a dot(.), it will create project in current dir
rework init myproject . 
rework init myproject

Add a app package

rework add users

Add deployment configurations

rework deploy --init

Deploy to test or production

rework deploy

Code Format

Code format using Google 的 yapf,recommend to install yapf globally:

# install yapf using pip in python3
$ python3 -m pip install yapf

# find and create soft link to `/usr/local/bin/yapf`
# find yapf execute file 

$ which yapf
# (/usr/local/python3.6/bin/yapf) possible location

$ ln -s /usr/local/python3.6/bin/yapf /usr/local/bin/yapf

CONTRIBUTE

Developer Environment

pip install -r requirements_dev.txt

Tag a new release

tag a version:

git tag -a v0.1.0

push tags to remote:

git push --tags

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-rework-0.1.3.tar.gz (13.7 kB view hashes)

Uploaded Source

Built Distributions

django_rework-0.1.3-py3.7.egg (27.8 kB view hashes)

Uploaded Source

django_rework-0.1.3-py3-none-any.whl (25.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page