mardi 14 juin 2016

Deploying a Flask app to hosting at godaddy


I am used Python/Flask Microframework. (http://flask.pocoo.org/) to build a small app. Tested the app locally and deployed it to godaddy and there i am seeing "ERROR 400" when going to the URL. I called their tech support and they are saying the app will need index.html page and that their platform does not support python. Here is where I am loading pages "serving content".

mAIN.PY

FYI, it runs perfectly in my local machine , I also have another instance hosted with AMAZON/EC2 and it is up and running perfectly.

Has anybody else had this problem? Can anybody help me to figure out why this isn't working?


Aucun commentaire:

Enregistrer un commentaire