This is a docker version of https://github.com/iktw/django-angular-bootstrap-boilerplate, modified with newer versions, python3, less instead of sass, source maps, ... This is a boilerplate to quickly get started with your django project. The main includes of this boilerplate is Django, AngularJs and bootstrap.
- Django 1.8.4
- Django REST framework
- Django REST Swagger
- Django REST JWT
- Django enumerify
- Django autoslug
- Django filter
- Markdown
- Pillow
- Sorl thumbnail
- Gulp
- Bower
- AngularJS
- AngularJS Bootstrap
- AngularJS Ui router
- Restangular
- Angular Translate
- Lodash
- jQuery
- Bootstrap
- $ pip3 install -r requirements-dev.txt
- $ fab dev
- myprojectdir
- myprojectdir/env
- myprojectdir/myproject
'gulp watch' will create 3 files: 'application.js' which includes our application, 'application.packages.min.js' which includes all of our packages and 'application.min.css' which includes all of our styles. Our js-files is divided into two files because of the performance when developing, otherwise gulp will compile all of our packages and application files every time we'll make a change.
To compile our production js-file (which includes both our packages and application) enter 'gulp build-js-production'
- Angular files: /assets/js/angular/
- Angular templates: /assets/ng-templates/
- Javascript externals files: /assets/js/external
- Less files: /assets/less/
- CSS: /static/css/application.min.css
- JS: /static/js/application.production.min.js
- JS: /static/js/application.packages.min.js
- JS: /static/js/application.js