Hey there @lyqht seems like you’re making some progress. I am making the assumption that you have git and heroku cli already configured in your machine so you’re good to go there.
The way that I made it work is as follows:
- Used VSCode
- Created a virtual env and installed all required packages
- Created an app.py file where I coded the sample app.
- Once the app was running fine on my local machine I went ahead and deployed by:
- Freezing requirements and creating a requirements.txt file
- Creating a setup.sh file
- Creating a Procfile
Type the following to your setup.sh file:
Change your Procfile to:
And then use the git and heroku workflow to create, commit, and push your app.
Hope this helps and let me know if this works for you.
I’m thinking about writing a tutorial on this-- I just have to find some free time.
GM