openshift private pip repo

If you are working with openshift-flask, then you would surely notice that that your pip freeze to requirement.txt will fail in deploying your app. That is because most of the time your pip freeze contains the latest versions of the python modules, but if a repo is popular openshift’s private repo only contains the highly tested versions. So one solution is to check the available versions from the error messages when the app is deploed through git. Or you can use the requirements.txt --index-url feature.

here’s my requirements.txt

https://gist.github.com/30a1ee02d631d0eda108

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s