Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Main app module clashes with default python2.7 install on Openshift #3

Open
milonline-eu opened this issue Dec 10, 2014 · 2 comments
Open

Comments

@milonline-eu
Copy link

Default python2.7 installation in Openshift has app.py file in root dir to run Python app. The base module is called the same so in reality not found.

In my case I renamed the module app to "application".

@milonline-eu
Copy link
Author

The solution might be to set OPENSHIFT_PYTHON_WSGI_APPLICATION variable. In build action/hook? I do not how yet...

@lingthio
Copy link
Owner

Hmmm. Now that app.py includes Flask-Script, perhaps we could rename app.py to cli.py?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants