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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -