|
7 months ago | |
---|---|---|
bin | 3 years ago | |
src | 7 months ago | |
test | 5 years ago | |
.eslintignore | 2 years ago | |
.eslintrc | 6 years ago | |
.gitignore | 3 years ago | |
.gitreview | 2 years ago | |
.zuul.yaml | 1 year ago | |
Dockerfile | 1 year ago | |
Gruntfile.js | 1 year ago | |
LICENSE | 7 years ago | |
README.md | 5 years ago | |
bindep.txt | 5 years ago | |
karma.conf.js | 2 years ago | |
package.json | 1 year ago | |
protractor-integration.conf.js | 6 years ago | |
protractor.conf.js | 6 years ago | |
tox.ini | 1 year ago | |
yarn.lock | 1 year ago |
A WebClient for the OpenStack StoryBoard project.
First of all be sure to have tox installed on your machine then:
tox -evenv
source .tox/venv/bin/activate
grunt serve
The following are commands that may be used during project development.
npm run lint
: Runs a linter on the javascript sources files of the
project, this will help us keeping style consistency across our files and
can reduce the risk of bugs.npm run clean
: Erases the temporary folders created by various grunt
tasks, such as reports, cover and dist.npm run build
: Compile and packages our code.npm run serve
: Development server - runs a build and sets up concurrent
watchers that will automatically lint, test, and refresh the code when a
change is detected.npm run test-unit
: This command will create a clean build against which
our unit tests will be run. For more information, please see
karma-unit.conf.jsnpm run test-integration
: This command will create a clean build against
which our functional tests will be run. For more information, please see
protractor-integration.conf.jsnpm run test-functional
: This command will create a clean build against
which our functional tests will be run. For more information, please see
protractor.conf.jsFor more detailed development, the following commands are available via grunt.
To run them, you will need to install grunt globally: npm install -g grunt
.
compile
: Compiles all of our sources in the dist directory.package
: Built code into a release package.serve:dist
: This task performs a full build of our application,
and then runs that source in a local web server. It does no watching,
it simply hosts the files.serve:prod
: This task is identical to 'server:dist',
with the exception that it will proxy the API requests against the production
API. USE WITH CAUTION