Basic Project Template
This basic project template includes:
- Django project
- Bourbon and Bitters
- Jeet grid system
- Webpack and Yarn setup
- Responsive crispy forms with Parsley validation
- "Chosen" UI widget for select elements
- Magnific popup for responsive modals
Clone the project or download from GitHub and open.
Optional: Rename 'project' in directory names, file names and settings strings with the name of your project. (Don't forget
Create a virtualenv for this project:
pip install -r requirements.txt
Create a database and local_settings.py based on the included local_settings_example.py
If necessary, install Grunt with
npm install -g grunt-cli.
In your Terminal, navigate to the project folder and type
npm install webpack --save-dev
Install npm modules with
Run Webpack by running
webpackfrom the main project folder (same directory as package.json).
In another shell, cd to your project directory/< YOUR PROJECT NAME >/ and enter:
python manage.py migrate python manage.py runserver
GOOGLE_ACCOUNT_CODE = add your GA code to activate tracking. (Only when DEBUG=False)