Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deploy commands for dashboard #7

Open
cohitre opened this issue Dec 19, 2014 · 2 comments
Open

Add deploy commands for dashboard #7

cohitre opened this issue Dec 19, 2014 · 2 comments

Comments

@cohitre
Copy link

cohitre commented Dec 19, 2014

I would like to have wubot deploy dashboard 1.2.1 live and wubot deploy dashboard 1.3.0 preview commands.

To deploy the dashboard to dashboard.balancedpayments.com we do the following

  1. have a copy of the dashboard project
  2. run npm install to make sure all dependencies are up to date
  3. run grunt deploy

To deploy the dashboard to dp.balancedpayments.com we do the following

  1. have a copy of the dashboard project
  2. update the package.json to include "balanced-admin": "balanced/balanced-admin" as a dependency. As long as wubot has access to that repo it should be able to install balanced-admin using step 3.
  3. run npm install to make sure all dependencies are up to date
  4. run grunt deployPreview
@mjallday
Copy link

we should take this chance to make it deploy a specific tag so it's easy to roll back to a previous version

@cohitre
Copy link
Author

cohitre commented Dec 19, 2014

We already tag dashboard builds and use those for deploying, I check them out locally using git co vX.Y.Z and then deploy. It'd be sweet if hubot could handle that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants