Discover Packages
github.com/ramr/origin
assets
package
Version:
v0.3.3
Opens a new window with list of versions in this module.
Published: Feb 27, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
OpenShift 3 Static Assets
The static assets for OpenShift v3. This includes the web management console.
Contributing
Getting started
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
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
Before opening a pull request
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
Production builds
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
Debugging Travis failures
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
Expand ▾
Collapse ▴
Documentation
¶
Package assets includes all of the static assets used by the OpenShift console and login flows.
Assets are generated into a .go file and then compiled into the OpenShift all-in-one binary.
See README.md in this directory for more information about working with these assets.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.