Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis build #729

Closed
wants to merge 10 commits into from
Next Next commit
'npm run' discoverable tasks
Added 'npm run setup' to npm package file.
This means that the standard tasks are discoverable via 'npm run'
  • Loading branch information
jesperronn committed Mar 3, 2015
commit d03cc2ec1837c4f1ff5fd823248867848ea80d7b
10 changes: 5 additions & 5 deletions doc/developer-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ Getting started

npm install

- Download dependencies:
- Download dependencies and build:

bower install
npm run setup

- Serve **StackEdit** at `http:https://localhost/`:
- Serve **StackEdit** at `http:https://localhost:80/`:

npm run server

(export PORT=80 && node server.js)

- Run **StackEdit** in debug mode (no application cache, serve original files instead of minified):

http:https://localhost/?debug
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"event-stream": "^3.1.7"
},
"scripts": {
"setup": "bower install && bower prune && gulp",
"server": "PORT=80 node server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand Down