Changeset 1181 for Core/trunk/INSTALL
- Timestamp:
- 07/15/09 13:42:54 (3 years ago)
- Files:
-
- 1 modified
-
Core/trunk/INSTALL (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Core/trunk/INSTALL
r1028 r1181 8 8 ======== 9 9 10 byCycle is developed on Ubuntu 8.04 and deployed to Fedora Core 9. This10 byCycle is developed on Ubuntu 9.04 and deployed to Fedora Core 9. This 11 11 section includes the packages needed for both. 12 12 … … 21 21 FC9: postgresql-server postgresql-devel 22 22 23 GEOS 2.2.324 ------ ----25 Ubuntu: libgeos 2c2alibgeos-dev23 GEOS 3 24 ------ 25 Ubuntu: libgeos-3.0.0 libgeos-dev 26 26 FC9: geos geos-devel 27 27 … … 36 36 Ubuntu: postgresql-8.3-postgis 37 37 38 Python 2. 5.1<http://www.python.org/>38 Python 2.6 <http://www.python.org/> 39 39 ------------------------------------- 40 40 Python development package is needed by psycopg2 41 Ubuntu: python2. 5-dev41 Ubuntu: python2.6-dev 42 42 FC9: python-devel 43 44 One-liner for Ubuntu45 --------------------46 sudo apt-get install postgresql libpq-dev postgresql-server-dev-8.3 libgeos2c2a libgeos-dev proj postgresql-8.3-postgis postgis python2.5-dev47 43 48 44 … … 57 53 cd byCycle 58 54 mkdir src 59 mkdir repo60 55 source bin/activate 61 56 … … 81 76 # Check out the code in virtualenv code directory. Use guest:guest credentials 82 77 # unless you've got an SVN login. 83 svn co http://guest:guest@code.bycycle.org/byCycle/ core/trunk byCycle78 svn co http://guest:guest@code.bycycle.org/byCycle/Core/trunk src/byCycle/Core 84 79 85 80 Installation 86 81 ------------ 87 You'll need to create the file repo/core/trunk/byCycle/model/.pw containing88 a single line with your PostgreSQL password. See Configuration section below 89 for more info on setting up Postgres.82 You'll need to create the file src/byCycle/Core/trunk/bycycle/core/model/.pw 83 containing a single line with your PostgreSQL password. See Configuration 84 section below for more info on setting up Postgres. 90 85 91 86 Development 92 87 ~~~~~~~~~~~ 93 In repo/core/trunk, run `python setup.py develop`88 In src/byCycle/Core/trunk, run `python setup.py develop` 94 89 95 90 Production … … 111 106 # Check out the trip planner Web app (in virtualenv repo directory). 112 107 # 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 108 svn co http://code.bycycle.org/byCycle/TripPlanner/trunk src/byCycle/TripPlanner 115 109 116 110 Installation … … 119 113 Development 120 114 ~~~~~~~~~~ 121 In repo/core/trunk, run `python setup.py develop`115 In src/byCycle/TripPlanner/trunk, run `python setup.py develop` 122 116 123 117 Production … … 128 122 ------- 129 123 # More unit tests needed 130 cd trunk/tripplanner124 cd src/byCycle/TripPlanner/trunk 131 125 paster serve --reload development.ini 132 126 firefox http://localhost:5000/ … … 176 170 * Exit from postgres user 177 171 178 * Run core/trunk/byCycle/scripts/integrate.py for each region. The following179 is an example for Portland, OR.180 * `cd repo/core/trunk/byCycle/scripts`181 * `./integrate.py -r portlandor -d pirate -l str 06oct`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` 182 176 183 177 Deployment