Skip to content

solarless/django-start-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-start-tool PyPI

Usage

Detailed usage information can be found by typing django-start --help

Examples

Create default project:

$ django-start

# Is equivalent to

$ django-admin startproject config .

Create project from template:

$ django-start \
> -t /path/to/template

# Is equivalent to

$ django-admin startproject \
> --template /path/to/template
$ django-start \
> -t https://github.com/<user>/<repository>/archive/main.zip

# Is equivalent to

$ django-admin startproject \
> --template https://github.com/<user>/<repository>/archive/main.zip

Add files to rendering (in addition to *-tpl):

$ django-start \
> -t /path/to/template \
> -r '*.env Procfile'

# Is equivalent to

$ django-admin startproject \
> --template /path/to/template \
> --extension env \
> --name Procfile

Exclude directories from rendering (in addition to .git and __pycache__):

$ django-start \
> -t /path/to/template \
> -x 'data logs'

# Is equivalent to

$ django-admin startproject \
> --template /path/to/template \
> --exclude data,logs