The aim of this project is to take off a lot of the initial building of a react app with django and materialize.
This Django Template comes prepackaged with:
- Django
- Materialize-Css
- Webpack
- React
- Scss transpiliation system
- Jinja2 templating system
Additionally, there is also:
- A modified env system to change settings based on your environment
- The ability to read from an .env file (refer to .env.example)
- Useful common css helpers built on-top of materialize
We keep different variations/prepackages on different branches
- API comes with a backend API system for working with JSON. Please note that does not contain a token auth system.
git clone https://github.com/Jujunol/django-template
cd django-template
rm -rf .git && git init
(or for powershellrm -r -force .git ; git init
)cp .env.example .env
python -m virtualenv venv
venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
npm i
npm start
this will start our webpack and livereload servers
Open your browser and go to http://localhost:8000