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

Heroku button #57

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Lewiscowles1986
Copy link
Contributor

@Lewiscowles1986 Lewiscowles1986 commented Jan 28, 2020

This is a re-take on a heroku deploy button.

A sample deploy is available at https://indielogin-lc-2020.herokuapp.com/

Important changes are that it does not require (but can still accept)

  • DB_NAME
  • DB_HOST
  • DB_USER
  • DB_PASS

It introduces setupDB and installDB methods. This can take the above ENV; or also take certain heroku and cloud-familiar ENV such as JAWSDB and / or CLEARDB_DATABASE_URL, or DATABASE_URL. This can be set by literal machine / user ENV or dotenv.

Migrating on release / update... Right now it's manual commands against the heroku mysql resource.

Adds logging changes so that if someone deploys this to more than one host they can aggregate using papertrail or similar syslog parser.

Also adds a release script which sets up database

@Lewiscowles1986 Lewiscowles1986 force-pushed the heroku-button branch 4 times, most recently from 48d928c to 73c66eb Compare January 28, 2020 22:49
@Lewiscowles1986
Copy link
Contributor Author

#43 closed

Copy link
Owner

@aaronpk aaronpk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a couple minor questions.

app.json Outdated Show resolved Hide resolved
heroku.yml Outdated Show resolved Hide resolved
@Lewiscowles1986
Copy link
Contributor Author

Oh, I went to link this and it seems there is work to do. I'd forgotten and assumed it had merged at same time as meetable. Was there something both of us were waiting for / expecting?

@aaronpk aaronpk changed the base branch from master to main November 26, 2020 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants