Frontend contribute

For working with CSS and JavaScript you need install Node.js, npm and WebPack.

Note

If you don’t have Node.js and NPM installed, get it first.

Installing Node.js dependencies:

npm install

CSS

СSS files are located in pyramid_sacrud/static/css/. CSS pack in __main.css file in pyramid_sacrud/static/css/.

JavaScript

Js pack in __main.js in pyramid_sacrud/static/js/assets/.

For update each dependency in package.json, just use npm-check-updates.

$ npm install -g npm-check-updates
$ npm-check-updates -u
$ npm install

Build

webpack

For production:

webpack -p
  Read the Docs
v: latest  
Versions
latest
stable
master
Free document hosting provided by Read the Docs.