Djangoroku is the package that helps to deploy Django application on Heroku.
- Configures the
settings.pyfile for deployment - Installs all the necessary packages in your project
- Deploys the application while coding
- Configures the default database,
sqliteon Heroku
Djangoroku involves these tech:
- Django - Python backend framework
- Heroku - PaaS for build and deploy apps
- Python - Server side language
To install and use djangoroku run these commands. Make sure you're at the root directory of your project.
$ pip install djangoroku
$ echo "from djangoroku import *" > deploy.py
$ python3 deploy.pyThe script will start running and do everything for you. You'll only needed to provide:
- Your project name
- Choose the app name (which will be the Heroku domain name)
- Needed to be logged in your Heroku account (emphasized)
Make sure your project runs with no errors on localhost, while developing. Note that, the package only helps you to deploy and not debug your coding errors.
- Display and interprete Heroku logs for debugging during deployment.
- Setting up all types of databases.
MIT