control center for kubernetes clusters
- Build the backend
./build
- Build the frontend
./build-web
Backend binaries are generated in /bin
Frontend build assets are generated in /frontend/public/dist
./build-docker
./build-docker
docker build .
Must set env vars DOCKER_USER
and DOCKER_PASSWORD
or have a valid .dockercfg
file.
./build-docker-push
- Add your
.dockercfg
using a quay robot account with access toquay.io/coreosinc
repos
(or set env variables for authDOCKER_USER
andDOCKER_PASSWORD
). - For first time setup, run:
./dev-setup
- View output of dev servers with
sudo journalctl -u devweb -lf
andsudo journalctl -u devgrunt -lf
bower install
the dependency- from
./frontend
rungulp deps
- add and commit generated
deps.js
anddeps.min.js
files in./frontend/public/lib/
go get ...
as usual- run
godep save -r ./...
go get -u foo/bar
as usualgodep update foo/bar
If changes are made to the schema/v1.json
file you must:
- Rebuild the bindings by running:
schema/generator
- Rewrite go dependencies:
godep save -r ./...
- go, nodejs (or just docker)