Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrisco/flask-demo
https://github.com/chrisco/flask-demo
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/chrisco/flask-demo
- Owner: chrisco
- Created: 2016-08-03T19:33:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-03T20:13:43.000Z (over 8 years ago)
- Last Synced: 2024-03-17T06:22:50.355Z (8 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask Tutorial
1. Setup virtualev as per this guide: http://flask.pocoo.org/docs/0.11/installation
2. Follow this Flask tutorial: http://flask.pocoo.org/docs/0.11/tutorial/After these commands:
```
$ sudo easy_install virtualenv
$ mkdir flask-demo
$ cd flask-demo/
$ virtualenv venv
$ . venv/bin/activate
$ pip install Flask
$ cd flaskr/
$ mkdir static
$ mkdir templates
$ touch README.md
```
This is what we have:
```
Foo~/G25/w16/flask-demo
$ tree -L 2
.
├── flaskr
│ ├── README.md
│ ├── static
│ └── templates
└── venv
├── bin
├── include
├── lib
└── pip-selfcheck.json7 directories, 2 files
(venv)
```
To deactivate virtualenv:
```
$ deactivate
```