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

https://github.com/dheavy/playing-with-flask

Playing with Flask
https://github.com/dheavy/playing-with-flask

Last synced: 5 months ago
JSON representation

Playing with Flask

Awesome Lists containing this project

README

          

# Training on Flask (Python)

### Set up

- Install **Python 2.7.x**;
- Install **virtualenv**;
- Inside the app root directory, create a virtual environment called **flask**: `virtualenv flask`;
- Use **pip** from the virtual environment to install dependencies: `flask/bin/pip install -r requirements.txt`;
- Create a `config_local.py` file at the root directory of our app and fill it with the following properties to set up mail:
````
MAIL_SERVER =
MAIL_PORT =
MAIL_USERNAME =
MAIL_PASSWORD =
````

- Launch migrations: `./db_migrate.py`.