Deploy Flask application From Git on OpenShift

Step 1. create Flask app on https://github.com/zhuby1973/code.git
Step 2. create an application From Git on OpenShift console

Step 3. input repository link, Context Dir and select python

Step 4. update service port from 8080 to 5000 once build

Step 5. verify the Flask application after restart

Step 6. you can edit the code in Git, then redeploy to get the application been updated!

Leave a Reply

Your email address will not be published. Required fields are marked *