Changeset 1181 for Core/trunk/INSTALL

Show
Ignore:
Timestamp:
07/15/09 13:42:54 (3 years ago)
Author:
wyatt
Message:

Updated for new repo structure and latest dependencies.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Core/trunk/INSTALL

    r1028 r1181  
    88======== 
    99 
    10 byCycle is developed on Ubuntu 8.04  and deployed to Fedora Core 9. This 
     10byCycle is developed on Ubuntu 9.04  and deployed to Fedora Core 9. This 
    1111section includes the packages needed for both.  
    1212 
     
    2121FC9: postgresql-server postgresql-devel 
    2222 
    23 GEOS 2.2.3 
    24 ---------- 
    25 Ubuntu: libgeos2c2a libgeos-dev 
     23GEOS 3 
     24------ 
     25Ubuntu: libgeos-3.0.0 libgeos-dev 
    2626FC9: geos geos-devel 
    2727 
     
    3636Ubuntu: postgresql-8.3-postgis 
    3737 
    38 Python 2.5.1 <http://www.python.org/> 
     38Python 2.6 <http://www.python.org/> 
    3939------------------------------------- 
    4040Python development package is needed by psycopg2 
    41 Ubuntu: python2.5-dev 
     41Ubuntu: python2.6-dev 
    4242FC9: python-devel 
    43  
    44 One-liner for Ubuntu 
    45 -------------------- 
    46 sudo apt-get install postgresql libpq-dev postgresql-server-dev-8.3 libgeos2c2a libgeos-dev proj postgresql-8.3-postgis postgis python2.5-dev 
    4743 
    4844 
     
    5753cd byCycle 
    5854mkdir src 
    59 mkdir repo 
    6055source bin/activate 
    6156 
     
    8176# Check out the code in virtualenv code directory. Use guest:guest credentials 
    8277# unless you've got an SVN login. 
    83 svn co http://guest:guest@code.bycycle.org/byCycle/core/trunk byCycle 
     78svn co http://guest:guest@code.bycycle.org/byCycle/Core/trunk src/byCycle/Core 
    8479 
    8580Installation 
    8681------------ 
    87 You'll need to create the file repo/core/trunk/byCycle/model/.pw containing 
    88 a single line with your PostgreSQL password. See Configuration section below 
    89 for more info on setting up Postgres. 
     82You'll need to create the file src/byCycle/Core/trunk/bycycle/core/model/.pw 
     83containing a single line with your PostgreSQL password. See Configuration 
     84section below for more info on setting up Postgres. 
    9085 
    9186Development 
    9287~~~~~~~~~~~ 
    93 In repo/core/trunk, run `python setup.py develop` 
     88In src/byCycle/Core/trunk, run `python setup.py develop` 
    9489 
    9590Production 
     
    111106# Check out the trip planner Web app (in virtualenv repo directory). 
    112107# Use guest:guest credentials unless you've got an SVN login. 
    113 cd repo 
    114 svn co http://code.bycycle.org/byCycle/apps/web/tripplanner/trunk TripPlanner 
     108svn co http://code.bycycle.org/byCycle/TripPlanner/trunk src/byCycle/TripPlanner 
    115109 
    116110Installation 
     
    119113Development 
    120114~~~~~~~~~~ 
    121 In repo/core/trunk, run `python setup.py develop` 
     115In src/byCycle/TripPlanner/trunk, run `python setup.py develop` 
    122116 
    123117Production 
     
    128122------- 
    129123# More unit tests needed 
    130 cd trunk/tripplanner 
     124cd src/byCycle/TripPlanner/trunk 
    131125paster serve --reload development.ini 
    132126firefox http://localhost:5000/ 
     
    176170* Exit from postgres user 
    177171 
    178 * Run core/trunk/byCycle/scripts/integrate.py for each region. The following 
    179   is an example for Portland, OR. 
    180   * `cd repo/core/trunk/byCycle/scripts` 
    181   * `./integrate.py -r portlandor -d pirate -l str06oct` 
     172* Run Core/trunk/bycycle/core/scripts/integrate.py for each region. The 
     173  following is an example for Portland, OR. 
     174  * `cd src/byCycle/Core/trunk/bycycle/core/scripts` 
     175  * `./integrate.py -r portlandor -d pirate -l str` 
    182176 
    183177Deployment