With heroku:
heroku create --buildpack https://github.com/OShalakhin/heroku-buildpack-geodjango
With dokku add the following line to .env
:
export BUILDPACK_URL=https://github.com/OShalakhin/heroku-buildpack-geodjango
and in the end:
# for heroku
git push heroku master
# for dokku
git push production master