-
Notifications
You must be signed in to change notification settings - Fork 0
Deploying to Washington Poly
Pat S. Sabpisal edited this page Mar 3, 2016
·
6 revisions
- You must have your public key registered on Washington Poly.
- The environment you run
npm
orgit
has access to that public key file. On Windows, using git bash will be easiest! - Add remote
git remote add live ssh://[email protected]/var/www/colsp.git
- Commit all changes, or stash. Clear your stage.
git checkout production
git merge -Xtheirs ahancer-dev
It should contain the correct base url : http://ahancer-colsp.azurewebsites.net/api
git push live production
Note, step 3 will fail if you do not have proper public key.
-
If you run
npm
in git bash directly, the key at~/.ssh/id_rsa.pub
will be used. -
If you run
npm
incmd
, it won't work unless you havegit
in yourPATH
- which will look forid_rsa.pub
in~/.ssh