Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

Updated fabfile.py - now includes named app bootstrapping, default collectstatic & compress tasks. #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shrikant-joshi
Copy link

Deployment using fab is so much easier. Have updated the bootsrap process to include the following steps:

  1. Create an app
  2. Install all addons
  3. set all the config vars
  4. syncdb
  5. migrate
  6. collectstatic
  7. compress
  8. Initialize the New Relic monitoring addon.

You can now bootstrap a named app (e.g. my_super_app) using fab by simply typing fab bootstrap:my_super_app. If you don't want a named app, simply use fab bootstrap and heroku will auto-name the app for you, as usual. :)

As always, feel free to reject the pull-request. Just something I have been using, thought I'd share it.

Deployment using fab is so much easier. Have updated the bootsrap process to include the following steps:
1. Create an app
2. Install all addons
3. set all the config vars
4. `syncdb`
5. `migrate`
6. `collectstatic`
7. `compress`
8. Initialize the New Relic monitoring addon.

You can now bootstrap a named app (e.g. my_super_app) using fab by simply typing `fab bootstrap:my_super_app`. If you don't want a named app, simply use `fab bootstrap` and heroku will auto-name the app for you, as usual. :)

As always, feel free to reject the pull-request. Just something I have been using, thought I'd share it.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant