The Oshinko console extensions in OpenShift Origin.
- Install Nodejs and npm
- Install grunt-cli and bower by running
npm install -g grunt-cli bower
(may need to be run with sudo) - Install ruby
- Install bundler
gem install bundler
- Run
sudo npm install
&bower install
- Build the code via
grunt build
for minified files or withgrunt dev
- Add the files to master-config.yaml in the below order
...
extensionScripts:
- /<path to>/oshinko-console/dist/scripts/templates.js
- /<path to>/oshinko-console/dist/scripts/scripts.js
extensionStylesheets:
- /<path to>/oshinko-console/dist/styles/oshinko.css
...
- Start Cluster
oc cluster up --host-config-dir=/home/oshinko
- copy dist/scripts/ & dist/styles/ files into /home/oshinko folder
- Stop Cluster
oc cluster down
- Add the files to master-config.yaml in the below order & Start Cluster
oc cluster up --host-config-dir=/home/oshinko --use-existing-config=true
...
extensionScripts:
- templates.js
- scripts.js
extensionStylesheets:
- oshinko.css
...