Deployment

Running Test Build and Deploy with Heroku

Koowoy
Reference Heroku Webhosting for Django - Python Django Dentist Website #12 Configuring Django Apps for Heroku General guincorn: Django uses “runserver” as the default package to run a server during development. However, when deploying with heroku, “gunicorn” should be used to run a server. whitenoise: In local environment, django is capable of searching for static files by itself. In deployment, static files are to be manually collected using “whitenoise”.

Deploy React App With Github Pages

Koowoy
References:Youtube Tutorial by Telmo Sampaio Create-React-App Documentation Although I thought the deployment part wouldn’t take that much time. But because of some minor mistakes I made in some stages, which was not explicitly explained by the create react app documentation, I had to start over a multiple times until I figured things out. Basic Steps as explained by the documentation 1. Add homepage field to package.json The field could be placed in order in the package.