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

Deployment on Heroku #4

Closed
jaykay12 opened this issue Apr 28, 2020 · 3 comments · Fixed by #11
Closed

Deployment on Heroku #4

jaykay12 opened this issue Apr 28, 2020 · 3 comments · Fixed by #11

Comments

@jaykay12
Copy link
Owner

Deploy the API on heroku server and setup git hook for continuous deployment

@jaykay12
Copy link
Owner Author

jaykay12 commented May 3, 2020

Issues Encountered

  • SQLite3 is not supported on Heroku, thus Heroku-Postgres was used as Production DB
  • Issues were coming in Production Postgres thus, Stage environment was set with Local Postgres.
  • Schema changes were not reflecting on Heroku platform as, DB Reset is required every time.
  • Pushing a subdirectory as root folder of heroku deploy instead of whole git repo. git subtree concept was also explored but finally editing the Procfile solved it.

@jaykay12
Copy link
Owner Author

jaykay12 commented May 3, 2020

Heroku setup done by ee65ef9, bd2ebef, 794678a, 9bc132c, 4f628ca

Production DB as PostgreSQL done by e0fc786, e0ebf07

Stage ENV done by bd1b404

@jaykay12 jaykay12 linked a pull request May 3, 2020 that will close this issue
@jaykay12
Copy link
Owner Author

jaykay12 commented May 3, 2020

Issue resolved by #11

@jaykay12 jaykay12 closed this as completed May 3, 2020
@jaykay12 jaykay12 pinned this issue May 12, 2020
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 a pull request may close this issue.

1 participant