Build: | |
---|---|
Documentation: | http://pyramid-webpack.readthedocs.io/ |
Downloads: | http://pypi.python.org/pypi/pyramid_webpack |
Source: | https://github.com/stevearc/pyramid_webpack |
A Pyramid extension for managing assets with Webpack.
Install cookiecutter
Create a new project:
$ cookiecutter gh:stevearc/pyramid-cookiecutter-webpack
Install and set up necessary packages:
$ cd <your project> $ virtualenv env $ source env/bin/activate $ pip install --upgrade pip $ pip install -e . $ npm install
Start the webpack build:
$ npm run watch
In a separate terminal, start the Pyramid server:
$ pserve --reload development.ini