Skip to content

Deployment: Heroku and Netlify

Leila Moran edited this page Nov 5, 2021 · 2 revisions

Deployment

Heroku

We used Heroku to deploy the backend of Feature-Hunt.

Development

When using docker, your backend will be built on localhost:5000. For developing the backend locally, change the baseUrl to be const baseUrl = 'http://localhost:5000/'; in Service.js.

Also modify: test_config.py in /test folder

Production

To either test the deployment or keep Netlify using Heroku, change the baseUrl to be const baseUrl = "https://damp-citadel-25681.herokuapp.com/"; in Service.js.

Netlify

We used Netlify to deploy the frontend of Feature-Hunt. It will redeploy anytime there is a push to main and you can preview deployment for upcoming PRs.

Want to create your own frontend deployment? Check out this Step by Step