Reputation: 3951
I have a flask
web app. The flask folder is pretty heavy. Do I need to add it to my git repository in order for the app to work with Heroku? Should I add the flask
folder to git ignore and not commit it to my git repository?
Upvotes: 0
Views: 259
Reputation: 160033
Nope, you can use a pip
requirements file to your project and specify that you need Flask and Heroku's build process will download and install Flask for you:
# requirements.txt
Flask==0.9
I would recommend reading through Heroku's tutorial on developing with Python on their platform to learn more about pip
and virtualenv
. You'll find them both very useful if you continue to work with Python 2.x.
Upvotes: 3