Skip to content

Heroku button#57

Open
Lewiscowles1986 wants to merge 3 commits into
aaronpk:mainfrom
Lewiscowles1986:heroku-button
Open

Heroku button#57
Lewiscowles1986 wants to merge 3 commits into
aaronpk:mainfrom
Lewiscowles1986:heroku-button

Conversation

@Lewiscowles1986
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

#43 closed

Copy link
Copy Markdown
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.

Comment thread app.json Outdated
Comment thread heroku.yml Outdated
@Lewiscowles1986
Copy link
Copy Markdown
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