Water Right Allocations for California
To develop the standalone dwrat-app, run the following commands. NodeJS, NPM and Bower are required.
One time, init dev environment. Run on first install or after git pull.
npm run init-dev
Note that you may also need to run a separate
npr install -g grunt-cli
Nick had success with the main body of these install instructions at least once, but on another occasion had to separately install grunt-cli for the following commands to work.
To develop, run:
// starts local web server, defaults to: localhost:8080
npm start
// watch filesystem and browserify changes to ./lib
npm dev
Create new dist dir
npm build
Test out the build
npm run start-dist
Documentation on deploying the server can be best found in the documentation section. A table of contents is also included below.