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
- Host: GitHub
- URL: https://github.com/dheavy/playing-with-flask
- Owner: dheavy
- Created: 2014-12-31T10:29:27.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-05T16:19:52.000Z (over 11 years ago)
- Last Synced: 2025-12-21T06:55:49.744Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 359 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.