Skip to content

Commit

Permalink
Easy up the install process by putting bower as a postinstall hook
Browse files Browse the repository at this point in the history
  • Loading branch information
janjongboom committed Mar 11, 2013
1 parent 20b88d9 commit 753c179
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
4 changes: 4 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"directory": "www/components",
"json" : "component.json"
}
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,12 @@ where we adjusted the animations to be in line with the transitions from the FFO

* [Node.js](http://nodejs.org/)

# Start dev'ing on OS/X or Linux

* Clone this repository
* Type: `bin/init.sh`
* Start the integrated web server via `node server.js`

*If the build fails follow the Windows instructions for a manual installation*

# Start dev'ing on Windows
# Start dev'ing!

* Clone this repository
* Run `git submodule update --init --recursive`
* Run `npm install`
* Install bower via `npm install -g bower`
* Go into '/www' and run `bower install`
* Go up to the root, and start the integrated web server via `node server.js`
* Start the integrated web server via `node server.js`

# Good to know...

Expand Down
File renamed without changes.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
"node": ">=0.8"
},
"dependencies": {
"connect": "2.7.2"
"connect": "2.7.2",
"bower": "0.7.1"
},
"scripts": {
"postinstall": "./node_modules/bower/bin/bower install"
}
}

0 comments on commit 753c179

Please sign in to comment.