deploy.py

Build minified javascript and CSS for production using Python

demarcate.js provides a simple Python script which is in the base demarcate directory and can build minified CSS and JS files.

 

Setting up

a simple deployment script which uses jsmin and cssmin to minify the javascript. Before starting you may need to install the dependencies.

The deployment script is part of the demarcate.js bundle available under an MIT license.

pip install jsmin
pip install cssmin
                        

Running

Call from the command line:

python deploy.py

python deploy.py