-
Notifications
You must be signed in to change notification settings - Fork 243
Setup
robi-y edited this page Nov 7, 2013
·
24 revisions
- Install pip: sudo easy_install pip setuptools
- Install mysql connector source instructions 2a. This script might help too, and also installing full django stack
- git clone ...
- dependencies: pip install -r requirements.txt
- Install Python
- Install setuptools & pip(package manager) and update PATH to python and python/scripts directories
- Install mysql connector binaries
- Install VC2008 Express (alt: mingw)
- git clone anyway from github
- cmd to the anyway directory (e.g. cd C:\Users\Admin\Documents\PycharmProjects\anyway).
- run "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"
- run: pip install -r requirements.txt
We currently use PyCharm for development
- Define connection string, e.g., CLEARDB_DATABASE_URL = 'sqlite:///local.db'
- First time, create tables: python models.py
- run app: python main.py
- Browse: http://127.0.0.1:5000