⬅︎ Back to A Python and Preact app deployed on Heroku
Deploying your Python + Javascript app to Heroku is easy today.1. You just have to add official python and nodejs buildpacks to your config.http://i.imgur.com/ocFtYtO.png2. Put requirements.txt and package.json to the root of your github repo.For example see https://github.com/gbtami/pychess-variants
I just don't like putting everything into the root folder. Especially since it prevents adding more other folders later. Sooner or later you might have 3 different package.json files.
Comment
Deploying your Python + Javascript app to Heroku is easy today.
1. You just have to add official python and nodejs buildpacks to your config.
http://i.imgur.com/ocFtYtO.png
2. Put requirements.txt and package.json to the root of your github repo.
For example see https://github.com/gbtami/pychess-variants
Replies
I just don't like putting everything into the root folder. Especially since it prevents adding more other folders later. Sooner or later you might have 3 different package.json files.