The static assets for OpenShift v3. This includes the web management console.
-
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
-
Install dev dependencies by running
hack/install-assets.sh
-
Launch the console and start watching for asset changes by running
hack/serve-local-assets.sh
Note: If you see an ENOSPC error, you may need to increase the number of files your user can watch by running this command:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
- If needed, run
hack/build-assets.sh
to update bindata.go - Run the test suite with
hack/test-assets.sh
- Rebase and squash changes to a single commit
- Make sure all dev dependencies are up to date by running
hack/install-assets.sh
- Run
hack/build-assets.sh
- Run
hack/build-go.sh
The assets served by the OpenShift all-in-one server will now be up to date. By default the assets are served from http://localhost:8091
If Travis complains that bindata.go is different than the committed version, ensure the committed version is correct:
- Run
hack/clean-assets.sh
- Run
hack/install-assets.sh
- Run
hack/build-assets.sh
- If bindata.go is changed, add it to your commit and re-push