Running flask with cake

enter image description here

I am trying to execute https://developers.openshift.com/en/python-flask.html to configure a flash application in shutter mode.

I followed the directions and worked on the command line using git - bash on win7.

/myflaskapp (master) $ python wsgi.py 127.0.0.1 - - [16/Jun/2015 13:46:10] "GET / HTTP/1.1" 200 12 127.0.0.1 - - [16/Jun/2015 13:46:10] "GET /favicon.ico HTTP/1.1" 404 233 127.0.0.1 - - [16/Jun/2015 13:46:10] "GET /favicon.ico HTTP/1.1" 404 233 

However, as you can see, the Run and debug buttons are grayed out in Pycharm Pro 4.5. How can I make them work?

+7
python flask pycharm
source share
1 answer

Create a configuration. For the simple application you are showing, all you have to do is execute flaskapp.py . Right-click on flaskapp.py and select Create flaskapp.py . You can select "Edit configurations ..." from the drop-down list to the left of the start button to edit the created configuration.

+10
source share

All Articles