Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twihike/django-starter
🚀 Django starter
https://github.com/twihike/django-starter
Last synced: 2 days ago
JSON representation
🚀 Django starter
- Host: GitHub
- URL: https://github.com/twihike/django-starter
- Owner: twihike
- Created: 2019-11-06T13:41:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T20:44:29.000Z (over 1 year ago)
- Last Synced: 2023-03-06T22:58:49.387Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 379 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django-starter
## run
```shell
# setup database
pipenv run python manage.py makemigrations
pipenv run python manage.py migrate
pipenv run python manage.py createsuperuser# set SECRET_KEY
pipenv run python manage.py shell -c "from django.core.management import utils; print(utils.get_random_secret_key())"# run
pipenv run python manage.py runserver
```## How would I set this up myself
```shell
# pipenv
PIPENV_VENV_IN_PROJECT=true pipenv --python 3.7
pipenv install PACKAGES...# create project
pipenv run django-admin startproject config .
mkdir -p apps/
pipenv run python manage.py startapp apps/
```Sphinx
```shell
pipenv run sphinx-quickstart docs
pipenv run sphinx-apidoc -f -o ./docs .
pipenv run sphinx-build -b html ./docs ./docs/_build
pipenv run make -C docs html
```