Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arsenlosenko/create-django-app
Start your Django project in seconds. Inspired by create-react-app
https://github.com/arsenlosenko/create-django-app
bash django python
Last synced: 10 days ago
JSON representation
Start your Django project in seconds. Inspired by create-react-app
- Host: GitHub
- URL: https://github.com/arsenlosenko/create-django-app
- Owner: arsenlosenko
- License: mit
- Created: 2018-09-24T08:40:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-27T17:14:53.000Z (about 6 years ago)
- Last Synced: 2024-09-29T09:26:21.199Z (about 2 months ago)
- Topics: bash, django, python
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
create-django-app
=================Even though I rarely create new django apps from scratch, I still don't like initial procedure of creating it, too much steps that can be automated. That's the purpose of this tool.
What this script does:
------------------------ Creates Django project
- Creates corresponding apps
- Creates initial virtualenv (venv)
- Installs provided dependencies
- Creates initial requirements.txt
- Initializes git repository
- Runs initial migration (using sqlitedb)
- Creates superuser
- Shows created application in browserDownload and run the script:
----------------------------
Python version:
---------------
Download it from PyPi:.. code-block:: bash
pip3 install create-django-app --user
Usage:
.. code-block:: bash
# show help
create-django-app --help# create django project
create-django-app -p test_project -a 'test_app1 test_app2' -d requests# create project without admin user with --noadmin flag
create-django-app -p test_project -a 'test_app1 test_app2' -d requests --noadmin# don't run server in the end with --nodemo flag
create-django-app -p test_project -a 'test_app1 test_app2' -d requests --nodemoBash version:
--------------
DEPRECATED: this script does not recieve same updates as the python package, buy still gets the job done.
You can download it via wget/curl/whatever you prefer:.. code-block:: bash
curl -O https://raw.githubusercontent.com/arsenlosenko/create-django-app/master/create-django-app.sh
After that give it executable permission:
.. code-block:: bash
chmod +x create-django-app.sh
And run it:
.. code-block:: bash
./create-django-app.sh -d foo_project -a 'foo_app bar_app' -d 'requests'
Show help:
.. code-block:: bash
./create-django-app.sh