mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
added linter config to build image, linter README
This commit is contained in:
@@ -14,6 +14,6 @@ RUN npm install -g gulp
|
||||
ADD package.json /home/weave/
|
||||
RUN npm install
|
||||
|
||||
ADD gulpfile.js webpack.config.js /home/weave/
|
||||
ADD gulpfile.js webpack.config.js .eslintrc /home/weave/
|
||||
|
||||
# For instructions on running this container, consult the toplevel Makefile
|
||||
|
||||
@@ -2,7 +2,14 @@
|
||||
|
||||
## Getting Started
|
||||
|
||||
- Install: `npm install`
|
||||
- Run `gulp` for building to the `dist` directory or `gulp serve` to serve the UI via a webserver
|
||||
- Develop using `gulp watch` for automatic code reload
|
||||
- Setup: `npm install`
|
||||
- Build: `gulp build --release`, output will be in `build/`
|
||||
- Develop: `gulp sync` and then open `http://localhost:3000/`
|
||||
|
||||
To see a topology, `../app/app` needs to be running, as well as a probe.
|
||||
|
||||
## Coding
|
||||
|
||||
This directory has a `.eslintrc`, make sure your editor supports linter hints.
|
||||
To run a linter, you also run `gulp lint`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user