Webmaker/Deployment: Difference between revisions
< Webmaker
Jump to navigation
Jump to search
(initial deployment information text) |
|||
| Line 1: | Line 1: | ||
= Deploying apps on webmaker.org = | == Deploying apps on webmaker.org == | ||
Deploying apps to webmaker.org is relatively painless, involving the following steps: | Deploying apps to webmaker.org is relatively painless, involving the following steps: | ||
Revision as of 19:54, 10 May 2013
Deploying apps on webmaker.org
Deploying apps to webmaker.org is relatively painless, involving the following steps:
- Increment package.json and tag a new version. This is done by fetching the latest master and running
npm version patch -m '[app] v%s', replacing [app] with the application name. The v%s is intentional, you actually want to use that string. As an example, to tag thimble the command would benpm version patch -m 'thimble v%s'. - Push this new commit to the mozilla/master repo ("mozilla" represents the upstream repo name here, if you use a different name, make sure to use that in the following command, too). This is done by running
git push mozilla master --tagsto push both the new commit and the new tag. - Start a jenkins build. This is done by:
- Visiting http://jenkins.mofoprod.net:8080/
- logging in (get a user account from JP)
- visiting the project page for the thing you want to build
- click the "Build now" button on the left sidebar
- Fill in the tag you want to build
- Wait
- If you need to make any configuration changes (a new parameter, or you need to change an existing) ask JP or I to make them so.
- Watch your thing be deployed on [app].mofostaging.net