* deploy from github to heroku
[prerequisite : create a repo git on github, push an app to the git]
0. login heroku.com
1. heroku personal apps -> click the target app ->
2. click 'Deploy' on the top horizon menu "Resources, Deploy, Metrics, Activity, Access, Settings"
3. -> click 'GitHub(beta)' -> connect to the source git on github
4. -> Manual deploy
5. -> Open app [ click the top icon beside 'star' ]
* if build error
-> click 'Activity' on the top horizon menu "Resources, Deploy, Metrics, Activity, Access, Settings"
-> revise package.json, Procfile ...
* error when trying to deploy angular-phonecat
""" ... sh: 1: bower: not found
npm ERR! angular-phonecat@0.0.0 postinstall: `bower install`
npm ERR! Exit status 127
... """
-->
http://stackoverflow.com/questions/24534920/deploying-to-heroku-with-grunt-bower-node-modules
"engines": {
"node": "0.10.29"
},
"dependencies": {
"bower": "^1.3.5"
},
"scripts": {
"postinstall": "./node_modules/bower/bin/bower install"
},
2015年1月28日 星期三
github to heroku, bower not found
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言