/coreos-web

Primary LanguageCSSApache License 2.0Apache-2.0

CoreOS Web

Common stylesheets and AnguarlJS JavaScript ui components for CoreOS web apps.

Setup

npm install -g grunt-cli
npm install
bower install

Build

Simple build:

  • run grunt
  • copy all files out of /dist

Build & bump other project:
This will build everything, then copy the resulting assets to your project directory.

  • create/edit the .bumpcfg file to export your project names with their path to coreos-web.
    example: export myproject=$GOPATH/src/github.com/myproject/web/coreos-web
  • run ./bump.sh <project-name> where project-name is the env var in .bumpcfg
    example: ./bump.sh myproject

Run Examples

  • Start a static webserver like python -m SimpleHTTPServer 8001 or similar.
  • Run grunt dev
  • Browse to http://localhost:8001/examples