etcd/mod/dashboard
Yicheng Qin 32d23fdb11 chore: gofmt go files 2014-04-21 14:59:06 -07:00
..
app chore(dashboard/fonts): remove unused font files 2014-04-14 12:16:29 -07:00
resources chore: gofmt go files 2014-04-21 14:59:06 -07:00
.bowerrc feat(dashboard): project setup 2014-04-14 12:13:04 -07:00
.gitignore feat(dashboard): project setup 2014-04-14 12:13:04 -07:00
Gruntfile.js fix(dashboard/build): update gruntfile for release build 2014-04-14 12:16:24 -07:00
LICENSE feat(dashboard): project setup 2014-04-14 12:13:04 -07:00
README.md feat(dashboard): project setup 2014-04-14 12:13:04 -07:00
bower.json feat(dashboard): project setup 2014-04-14 12:13:04 -07:00
build chore(dashboard): move dashboard server & fix routing. 2014-04-14 12:13:00 -07:00
dashboard.go chore(dashboard): move dashboard server & fix routing. 2014-04-14 12:13:00 -07:00
karma.conf.js feat(dashboard): project setup 2014-04-14 12:13:04 -07:00
package.json feat(dashboard): project setup 2014-04-14 12:13:04 -07:00
setup feat(dashboard): project setup 2014-04-14 12:13:04 -07:00

README.md

etcd Dashboard

Developing

If you'd like to contribute to the etcd dashboard mod, follow these instructions. For contributing to the rest of etcd, see the contributing document in the root of the repository.

Install Dependencies

Requires nodejs.

Run all commands from within the /mod/dashboard directory.

run ./setup to install npm modules and bower front-end dependencies.

To run a non-compiled development version of the dashboard:

Continually compile html templates, sass/css, and run unit tests.

grunt dev

Export an environment varible to notify etcd of the dashboard source code location:

export ETCD_DASHBOARD_DIR=./mod/dashboard/app

Run local etc as usual (be sure to include the cors flag).

// from etcd root dir  
./bin/etcd -cors="*"  

Alternatively, build the optimized production-build version of the website and run etcd as above:

grunt  
export ETCD_DASHBOARD_DIR=./mod/dashboard/dist