Skip to content
This repository was archived by the owner on Feb 20, 2020. It is now read-only.

cobudget-old/cobudget-ui

 
 

Repository files navigation

Stories in Ready

Cobudget! user interface

Build Status Code Climate

Cobudget is a web app helping people collaborate on budgets. For more about the project as a whole, check out the top-level repo. This repo is the user interface component.

How to...

Install

Install node and npm: https://github.com/joyent/node/wiki/Installation

git clone https://github.com/open-app/cobudget-ui
cd cobudget-ui
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 gh-pages)

NODE_ENV=production npm run stage

Deploy (push to dokku)

git remote add deploy [email protected]:app
NODE_ENV=production npm run deploy

Test

To setup e2e (integration) tests, in another terminal run npm run webdriver-update to install Selenium and npm run webdriver-start to start the Selenium serer. The UI server must be running (npm run develop or npm start)while performing e2e tests.

Run all tests

npm test

Run only spec tests

npm run test-spec

Run only e2e tests

npm run test-e2e

About

cobudget's user interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 17