With docker support.
cp .env.example .env
pip install virtualenv && \
virtualenv env && \
source env/bin/activate
python3 manage.py migrate
Example:
Load data auth_user.json into database.
python manage.py loaddata app/fixtures/auth_user
# alias py="python3"
py manage.py runserver 3000
# http://localhost:3000
alias compose='docker-compose -f local.yml'
compose build
compose up
# http://localhost:3000
py manage.py shell -i ipython
py manage.py show_urls
View the api collection here.
Admin creds are set in ./compose/local/django/start
export DJANGO_SUPERUSER_PASSWORD=secret
py manage.py createsuperuser \
--username admin_user \
--email admin@django-app.com \
--no-input
py manage.py collectstatic
Mail environment credentials are at .env.
The mailhog docker image runs at http://localhost:8025
.
See your Python code do web browsing on your screen with GUI.
See python react boilerplate app.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.