How to import a 3rd party Python library into Bluemix? -
my python app needs web.py run i'm unable figure out how bluemix. see no options using cf push
. tried "import web" , added additional code app without success.
when push python app bluemix without web.py
fails (naturally) since not have needs run.
i'm sure i'm missing import mechanism. help?
i recommend try out starter template on github. enabled deploy bluemix button automatically creates python runtime , postgress database django installed. https://github.com/fe01134/djangobluemix
the project includes requirements.txt file ensure have right dependencies , .settings file read database user id , password vcap services. leverages declared services in manifest file create database service you.
here youtube tutorial on how deploy python app on bluemix https://www.youtube.com/watch?v=qichqqnumle&list=plvsg7o_a5f2dajsnp6aracp6vkqdgsz33&index=5
Comments
Post a Comment