Skip to content

Commit

Permalink
Remove references to staging/production.
Browse files Browse the repository at this point in the history
There is no staging or production (it's just administrate-prototype), so
this is just confusing.
  • Loading branch information
nickcharlton committed Jan 20, 2017
1 parent ff34634 commit 17cd60e
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,10 @@ if ! command -v heroku > /dev/null; then
printf "You'l need it to contribute to the demo app\n"
printf 'https://devcenter.heroku.com/articles/heroku-cli for install instructions\n'
else
# Set up the staging and production apps.
if heroku join --app administrate-prototype-staging > /dev/null 2>&1; then
git remote add staging git@heroku.com:administrate-prototype-staging.git || true
printf 'You are a collaborator on the "administrate-prototype-staging" Heroku app\n'
if heroku join --app administrate-prototype > /dev/null 2>&1; then
git remote add staging git@heroku.com:administrate-prototype.git || true
printf 'You are a collaborator on the "administrate-prototype" Heroku app\n'
else
printf 'Ask for access to the "administrate-prototype-staging" Heroku app\n'
fi

if heroku join --app administrate-prototype-production > /dev/null 2>&1; then
git remote add production git@heroku.com:administrate-prototype-production.git || true
printf 'You are a collaborator on the "administrate-prototype-production" Heroku app\n'
else
printf 'Ask for access to the "administrate-prototype-production" Heroku app\n'
printf 'Ask for access to the "administrate-prototype" Heroku app\n'
fi
fi

0 comments on commit 17cd60e

Please sign in to comment.