It is recomended to install the backend first, make sure you have Python 3.9, Pipenv and a database engine (Posgress recomended)
- Install the python packages:
$ pipenv install
- Create a .env file based on the .env.example:
$ cp .env.example .env
- Install your database engine, depending on your database you have to create a DATABASE_URL variable with one of the possible values, make sure yo replace the valudes with your database information:
Engine | DATABASE_URL |
---|---|
Postgress | postgres://username:password@localhost:5432/example |
- Run the application:
$ pipenv run start
This boilerplate it's 100% integrated with Heroku, just by pushing your changes to the heroku repository it will deploy: $ git push heroku main