cobudget-ui
cobudget's user interface. for more information on the project as a whole, check out the top-level repo
install
install node and npm and bower if you don't have them, then run npm install
git clone https://github.com/cobudget/cobudget-ui
cd cobudget-ui
install/upgrade to latest npm: install: https://nodejs.org/en/download/ or update: npm update npm -g
install node using, eg., nvm:
install nvm: curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | zsh
nvm install node
npm install -g bower
npm install
configure
to configure production
and other environments, copy config/development.coffee
to config/production.coffee
and change properties as appropriate. if you need to access other environment variables, use process.env.var_name
, as the config is simply coffeescript.
run
build on watch and start livereload server:
npm run develop
build once and start static server:
npm start
deploy
stage (push to this repo's gh-pages)
npm run stage
deploy (push to prod repo's gh-pages)
npm run set-remote
npm run deploy