An open API service indexing awesome lists of open source software.

https://github.com/scalingo/sample-python2-flask

Sample application using Python 2 and Flask
https://github.com/scalingo/sample-python2-flask

flask python python2 sample

Last synced: about 1 month ago
JSON representation

Sample application using Python 2 and Flask

Awesome Lists containing this project

README

          

# [DEPRECATED] Sample Application with Python and Flask

This sample is running on: https://python2-flask.is-easy-on-scalingo.com/

## DEPRECATION NOTICE

With the introduction of the `scalingo-20` stack, Python 2 will no longer be supported.
This sample will therefore not work with the `scalingo-20` stack.
However, it is still functional with the `scalingo-18` stack.

## Run Locally

```shell
virtualenv
. bin/activate
pip install -r requirements.txt
python app.py
```

## Deploy via Git

Create an application on https://scalingo.com, then:

```shell
git remote add scalingo git@ssh.osc-fr1.scalingo.com:.git
git push scalingo master
```

And that's it!

The application is running at this URL: https://.osc-fr1.scalingo.io/

## Deploy via one-click

[![Deploy to Scalingo](https://cdn.scalingo.com/deploy/button.svg)](https://my.scalingo.com/deploy)