python - How to install mysqldb on Openshift with flask -
i planning on making website using python + flask + mysql. database requirements simple , hence don't plan on using orm. have been reading through tuorials of mysqldb c based mysql connector python. how can install on openshift?
for installing on local pc, had run following 2 commands.
python setup.py build python setup.py install
here doc shows how spin flask app on openshift
https://developers.openshift.com/en/python-flask.html
all add dependencies mysql drivers requirements.txt , openshift pull deps , put them in app.
Comments
Post a Comment