(2022) Django 4 with Docker support.
Postman API Collection for Python ReactJS Boilerplate.
Postman API Environment for Python ReactJS Boilerplate.
cp .env.example .env python3 -m venv .env source .venv/bin/activate python3 manage.py migrate cd frontend npm i npm run build cd .. python3 manage.py collectstaticExample:
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:3000alias compose='docker-compose -f local.yml' compose build compose up # http://localhost:3000 py manage.py shell -i ipython py manage.py show_urlsView 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-inputpy manage.py collectstaticMail 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 ReactJS Boilerplate app.
See PHP ReactJS 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.
