OpenStack Task Tracking Browser Client
Go to file
Michael Krotscheck 2153ac56e5 Added storyboard API to webclient venv
This change adds the storyboard API as a dependency for the virtual
environment so we can run integration and functional tests with
a live API. It also sets up the grunt development server with a local
proxy so that we don't have to worry about implementing CORS immediately.

Change-Id: I4835649630ef69f13d73ef2a10dff860aceb1f49
2014-01-22 16:37:14 -08:00
bin Added storyboard API to webclient venv 2014-01-22 16:37:14 -08:00
src Remove mock API interfaces from storyboard. 2014-01-22 11:25:59 -08:00
test Storyboard API Interface and basic project management 2014-01-21 17:31:50 -08:00
.gitignore Add tox.ini file to run things via tox 2014-01-20 12:52:14 -08:00
.gitreview Initial commit 2014-01-14 18:49:39 -08:00
.jshintrc Storyboard API Interface and basic project management 2014-01-21 17:31:50 -08:00
bower.json Storyboard API Interface and basic project management 2014-01-21 17:31:50 -08:00
Gruntfile.js Added storyboard API to webclient venv 2014-01-22 16:37:14 -08:00
karma-integration.conf.js Initial commit 2014-01-14 18:49:39 -08:00
karma-unit.conf.js Initial commit 2014-01-14 18:49:39 -08:00
LICENSE Initial commit 2014-01-14 18:49:39 -08:00
package.json Added storyboard API to webclient venv 2014-01-22 16:37:14 -08:00
protractor.conf.js Initial commit 2014-01-14 18:49:39 -08:00
README.md Added storyboard API to webclient venv 2014-01-22 16:37:14 -08:00
tox.ini Added storyboard API to webclient venv 2014-01-22 16:37:14 -08:00

storyboard-webclient

A WebClient for the OpenStack Storyboard project.

Prerequisites: Quick build/CI

  • Xvfb
  • GCC 4.2 or newer
  • Python 2.6 or 2.7
  • GNU Make 3.81 or newer
  • libexecinfo (FreeBSD and OpenBSD only)

Prerequisites: Dev

  • tox

Use tox:

Run the test suite

  • tox -enode test

Run a local development server

  • tox -enode server

Package the distro

  • tox -enode build

For development.

Create the virtualenv

  • tox -enode build

Activate the virtualenv

  • source .tox/node/bin/activate

Within the virtual environment, you have the following options

Update/refresh the javascript build and runtime dependencies

  • npm prune
  • npm install
  • bower prune
  • bower install

Run a local development server

grunt server

Run the test suite

grunt test

Package the distro

grunt build

Bootstrap your database

./bin/api.sh create-db

Migrate the database

./bin/api.sh migrate-db

Start the API

./bin/api.sh start

Stop the API

./bin/api.sh stop