Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.
/ flask-openshift Public archive

Simple Flask template for OpenShift v2 (v2 is deprecated 😢)

License

Notifications You must be signed in to change notification settings

aaossa/flask-openshift

Repository files navigation

Flask OpenShift

This is a template to host in OpenShift a Python 3.x app using Flask. If you want to learn the process, you can read the step by step guide.

Running on OpenShift

Create a Python application with this command

rhc app-create <project> python-3.3 --from-code https://github.com/aaossa/flask-openshift.git

Checkout the "hello world example" at

https://<project>-<namespace>.rhcloud.com

More

You can use a different cartridge:

rhc app create <project> <cartridge> --from-code https://github.com/aaossa/flask-openshift.git

If you want to use Python 3.5, I recommend this custom cartridge. You can create your app with this command

rhc app create <project> https://raw.githubusercontent.com/Grief/openshift-cartridge-python-3.5/master/metadata/manifest.yml diy-0.1 --from-code https://github.com/aaossa/flask-openshift.git

If you're interested in Telegram bots, you can use my template to create your own just using 3 console commands, 3 Telegram messages and 1 url.

License

Code licensed under GNU General Public License v3.

About

Simple Flask template for OpenShift v2 (v2 is deprecated 😢)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published