GitXplorerGitXplorer
f

WhatsappBot

public
0 stars
1 forks
9 issues

Commits

List of commits on branch master.
Verified
dc8b22e53609c8a6500796bbd1b83ec0ff049bce

Update app.py

committed 5 years ago
Unverified
53f98d4fc5fb6b526e6c1a4452b61919be9bb462

Set Mimetype

committed 5 years ago
Unverified
db22c3086c6ae86543257aa5c3a642fb28014020

Set Mimetype

committed 5 years ago
Unverified
1e8cc4bbfa7afac236bad63c77174ca4c8642333

Migrated from freeform text to TwiML

committed 5 years ago
Unverified
95659bbcc9d09b023052dc8fad47c0273ad0cab4

Migrated from freeform text to TwiML

committed 5 years ago
Unverified
cf354e3c8a75fe26b0decad79f9ec0bbb1909256

Quick Debug Change

committed 5 years ago

README

The README file for this repository.

Flask Skeleton

This is a small and simple skeleton application using Python's Flask framework. It includes Bootstrap by Twitter.

Installation

I use virtualenv to install Flask, so you could do the following. (This will instruct you how to install Python/Pip if you havn't already done so)

Ubuntu

$ sudo apt-get install python-pip python-dev build-essential
$ sudo pip install --upgrade pip
$ sudo pip install --upgrade virtualenv
$ cd /path/to/your/workspace
$ git clone https://github.com/harry-lawrence/flask-skeleton.git src
$ virtualenv src
$ cd src
$ . bin/activate
$ sudo pip install Flask
$ cd src/app
$ python app.py

OS X

To install Pip, you can either use:

$ wget http://pypi.python.org/packages/source/p/pip/pip-0.7.2.tar.gz
$ tar xzf pip-0.7.2.tar.gz
$ cd pip-0.7.2
$ python setup.py install

Or:

$ sudo easy_install pip

As for the rest:

$ sudo pip install virtualenv
$ cd /path/to/your/workspace
$ git clone https://github.com/harry-lawrence/flask-skeleton.git src
$ virtualenv src
$ cd src
$ . bin/activate
$ sudo pip install Flask
$ cd src/app
$ python app.py

Windows

Sorry it's been too long since I last used Windows. Not too sure what it would entail. If you know and would like to help, be sure to make a pull request!

The above will install everything you need, get you setup with Python/Pip/Virtualenv/Flask and the sample skeleton application.

Extra

I will be adding more examples, and making this a lot easier to use in the near future. Still very new to Flask, and still just as new to Python.