-
Notifications
You must be signed in to change notification settings - Fork 243
Setup
robi-y edited this page Dec 18, 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 2.7
- Install setuptools & pip(package manager) and update PATH to python and python/scripts directories (e.g. PATH=%PATH%;C:\Python27\Scripts)
- Install mysql connector binaries
- Install VC2008 Express (alt: mingw)
- git clone anyway from github (first install git, e.g. by installing github for windows)
- 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
- Define connection string:
- bash: export CLEARDB_DATABASE_URL='sqlite:///local.db'
- windows shell: set CLEARDB_DATABASE_URL=sqlite:///local.db`
- First time, create tables: python models.py
- Populate the data (markers etc.) - python process.py
- run app: python main.py
- Browse: http://127.0.0.1:5000
We currently use PyCharm for development (or not :)