https://github.com/solarless/django-start-tool
A full-featured CLI for quickly creating django projects.
https://github.com/solarless/django-start-tool
code-generation django starter
Last synced: about 2 months ago
JSON representation
A full-featured CLI for quickly creating django projects.
- Host: GitHub
- URL: https://github.com/solarless/django-start-tool
- Owner: solarless
- License: mit
- Created: 2022-08-30T20:59:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-02T07:47:33.000Z (over 2 years ago)
- Last Synced: 2025-03-13T14:17:42.691Z (2 months ago)
- Topics: code-generation, django, starter
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
###########################
django-start-tool |version|
###########################.. |version| image:: https://img.shields.io/pypi/v/django-start-tool
:target: https://pypi.org/project/django-start-tool
:alt: PyPIUsage
=====Detailed usage information can be found by typing ``django-start --help``
Examples
========Create default project:
.. code-block:: shell
$ django-start
# Is equivalent to
$ django-admin startproject config .
Create project from template:
.. code-block:: shell
$ django-start \
> -t /path/to/template# Is equivalent to
$ django-admin startproject \
> --template /path/to/template.. code-block:: shell
$ django-start \
> -t https://github.com///archive/main.zip# Is equivalent to
$ django-admin startproject \
> --template https://github.com///archive/main.zipAdd files to rendering (in addition to ``*-tpl``):
.. code-block:: shell
$ django-start \
> -t /path/to/template \
> -r '*.env Procfile'# Is equivalent to
$ django-admin startproject \
> --template /path/to/template \
> --extension env \
> --name ProcfileExclude directories from rendering (in addition to ``.git`` and ``__pycache__``):
.. code-block:: shell
$ django-start \
> -t /path/to/template \
> -x 'data logs'# Is equivalent to
$ django-admin startproject \
> --template /path/to/template \
> --exclude data,logs