https://github.com/sub-mod/oshinko-webui
Web console for a spark cluster management app
https://github.com/sub-mod/oshinko-webui
Last synced: about 1 year ago
JSON representation
Web console for a spark cluster management app
- Host: GitHub
- URL: https://github.com/sub-mod/oshinko-webui
- Owner: sub-mod
- License: apache-2.0
- Created: 2016-06-23T15:09:59.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-26T19:18:45.000Z (about 9 years ago)
- Last Synced: 2025-04-10T22:47:11.807Z (about 1 year ago)
- Language: JavaScript
- Size: 11.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Running the app during development
You'll need to have a node environment installed.
You might prefer to use nvm (https://github.com/creationix/nvm)
to manage my node environment.
Once that is set up, you can run the following:
npm install
npm install -g bower
bower install
Now you're ready to run the oshinko-webui server.
Set the following environment variables:
OPENSHIFT_OSHINKO_REST=
OPENSHIFT_OSHINKO_REST_PORT=
OPENSHIFT_NODEJS_PORT= Default:8080
Optionally, you can set the following if you want more verbose logging:
OPENSHIFT_OSHINKO_WEB_DEBUG=true
You can pick one of these options:
* install node.js and run `node server.js`
Then navigate your browser to `http://localhost:` to see the app running in
your browser.
### Running the app in production
The oshinko-webui is meant to run inside Openshift. You can build the image
from the Dockerfile. The resultant image can be run standalone or inside
Openshift.
You will need to set the following environment variables:
OPENSHIFT_OSHINKO_REST=
OPENSHIFT_OSHINKO_REST_PORT=
OPENSHIFT_NODEJS_PORT= Default:8080
### Running unit tests
To run the unit tests:
karma start test/karma.conf.js
### End to end testing
You'll need protractor installed:
npm install -g protractor
Then run:
webdriver-manager update
You may need to update `test/conf.js` to point to your correct `baseUrl` [default is `http://localhost:8080`] Or, you can pass `--baseUrl=` on the protractor command line
webdriver-manager start
From another terminal window, you can run:
protractor test/conf.js
### Continuous Integration