Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

setup script can easily be run twice #37

Open
ndp opened this issue Sep 30, 2021 · 0 comments
Open

setup script can easily be run twice #37

ndp opened this issue Sep 30, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ndp
Copy link
Contributor

ndp commented Sep 30, 2021

It's easy to run the setup script twice, which then messes up your heroku configuration, and basically makes you start over if you don't want to tweak various settings. See https://techtonicaorg.slack.com/archives/C0259C7V9DG/p1633025490298200?thread_ts=1633021363.288300&cid=C0259C7V9DG

Idea: have a quick check at the beginning of the setup script that blows up if it has already run. One check would be to see if git remote | grep heroku returns something. I'm sure there are other ideas.

@gsong gsong added enhancement New feature or request help wanted Extra attention is needed labels Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants