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

Slight simplification to install and build commands #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ Get a working local development version of the app

1. Fork it on Github.
2. Clone to your development environment
3. Install submodule (```git submodule init && git submodule update```)
4. Run ```npm install -g grunt-cli```
5. Run ```npm install```
6. Run ```./node_modules/.bin/bower install```
7. Run ```grunt``` (or ```sudo grunt```)
8. Start your chrome with ```--disable-web-security``` and open http://localhost:3080/
3. (optional) Run ```npm install -g grunt-cli```
4. Run ```npm install```
Post install scripts should run automatically:
* ```./node_modules/.bin/bower install```
* ```git submodule init && git submodule update```
5. Run ```npm start``` (or ```sudo grunt```)
6. Start your chrome with ```--disable-web-security``` and open http://localhost:3080/ (or ```npm run chrome```)

When something nice is created:

Expand All @@ -63,7 +64,7 @@ Build your own version of the plugin
--------

1. Download and install node.js
2. Run "npm install"
3. Run "grunt" to test your app locally
4. Run "grunt build" to build the plugin version of your source.
2. Run ```npm install```
3. Run ```npm start``` to test your app locally
4. Run ```npm run build``` to build the plugin version of your source.
5. See http://code.google.com/chrome/extensions/getstarted.html#load for how to install it in Chrome
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@
"grunt-prompt": "0.1.2",
"grunt-cli": "*"
},
"scripts": {
"scripts": {
"start": "grunt",
"build": "grunt build",
"postinstall": "./node_modules/bower/bin/bower install --allow-root && git submodule init && git submodule update",
"chrome": "google-chrome --disable-web-security",
"scripts": {
"start": "NODE_ENV=production; node server.js",
"postinstall": "./node_modules/bower/bin/bower install --allow-root"
"start": "NODE_ENV=production; node server.js"
}
},
"repository": {
Expand Down