Directly host a Godot server on Heroku directly from the source code without exporting.
- Export Godot server build from source code
- Run Godot server build from .pck file
- GODOT_VERSION - The version of stable Godot to use (eg. 3.3.4)
- HEROKU_URL - The web URL of the heroku app (eg. https://your-app-name.herokuapp.com)
- Upload the entire source code of the Godot project to Heroku
- Ensure that the
project.godot
andexport_presets.cfg
files are present - The
export_presets.cfg
file musht have a preset namedLinux/X11
- Only two files needed: a
.pck
file and a Godotpack file - Only host the
.pck
file on Heroku (It must be aLinux/X11
export) - Make a
Godotpack
file (no extension) and it in type the name of the pck file - Eg. If you export the project as
server.pck
, in theGodotpack
file simply typeserver.pck
Modified hybrid version of heroku-buildpack-godot and godot-server-buildpack