Webmaker/Deployment
< Webmaker
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