Skip to content
Make Django builds with Webpack
Branch: master
Clone or download
Latest commit f904518 Apr 25, 2019

README.rst

Cookiecutter Django Webpack (Beta)

Introduction

Create production ready django projects with webpack easily.

Basic Webpack Configuration works. Cookiecutter Django Webpack ships with bootstrap "4.3.1".

Do not Mail me for Issues please raise an issue in the GitHub Issues Section.

Usage

Note: Use a Virtual Env to setup your projects.

  • Installation
    $ cookiecutter https://github.com/kiran-capoor94/cookiecutter-django-webpack
  • Use default for setup options.
  • Enter the project directory where package.json file is
    $ cd project_slug/
  • Install Node Dependencies
    $ npm install
  • Run Webpack in Dev Environment with live compilation of your static files
    $ npm run watch
  • In a separate terminal, run the django sever
    $ python manage.py runserver_plus 0.0.0.0:8000

TODO List:

  • Seamless Docker-Compose/Docker Integration for Django + Webpack
  • Abstracting Webpack Builds and adding conditional operations with respect to Gulp/Docker..etc.
  • Supporting 100% Coverage & Tests
  • Make Documentation

Thanks to:

Powered by Cookiecutter Django, Cookiecutter Django Webpack is a framework for jumpstarting production-ready Django projects quickly.

For More info: - https://cookiecutter-django.readthedocs.io/en/latest/

You can’t perform that action at this time.