Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 2 and Version 3 of FreeBSDInstall


Ignore:
Timestamp:
07/06/07 10:48:41 (12 years ago)
Author:
Chris Arndt
Comment:

migration notice

Legend:

Unmodified
Added
Removed
Modified
  • FreeBSDInstall

    v2 v3  
    1 = Installing TurboGears on FreeBSD = 
    2  
    3 ''This document currently applies to FreeBSD 6.0-RELEASE, though it will also work with older versions (5.x, 4.x).'' 
    4  
    5 NB : all installations must be performed as root, i.e. : 
    61{{{ 
    7 $ su 
    8 password: 
     2#!rst 
     3.. note:: This page has been migrated to http://docs.turbogears.org/1.0/InstallFreeBSD. 
    94}}} 
    10  
    11 == Installing Turbogears using the FreebSD ports == 
    12  
    13 Turbogears is now available as a FreeBSD port, which provides a convenient alternative to the direct use of the Setuptools. 
    14  
    15 The port will install all the required dependencies (Python 2.4, SQLObject, Cheetah, CherryPy, Kid, json-py, ...), plus the modules required for MySQL/PostgreSQL connectivity (MySQLdb, psycopg, ...). 
    16  
    17 Install from ports: 
    18 {{{ 
    19 $ cd /usr/ports/www/py-turbogears 
    20 $ make install clean 
    21 }}} 
    22  
    23 == Installing Turbogears using the Setuptools  == 
    24  
    25 The standard [http://www.turbogears.org/download/nix.html TurboGears *nix install] works so we'll just work with the prerequisites. First, you must have Python installed. Thankfully, FreeBSD 6 ships with Python 2.4. 
    26  
    27 Install from ports: 
    28 {{{ 
    29 $ cd /usr/ports/lang/python 
    30 $ make install clean 
    31 }}} 
    32 Or using [http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html portupgrade] : 
    33 {{{ 
    34 portinstall python 
    35 }}} 
    36 Or the binary package install (easier, less time consuming). 
    37 {{{ 
    38 $ pkg_add -r python 
    39 }}} 
    40  
    41 == Database Connectivity == 
    42  
    43 ==== SQLite ==== 
    44  
    45 This will install [http://www.sqlite.org SQLite 3] and the PySQLite python module. 
    46  
    47 From ports: 
    48 {{{ 
    49 $ cd /usr/ports/databases/py-PySQLite2/ 
    50 $ make install clean 
    51 }}} 
    52 Binary package install: 
    53 {{{ 
    54 pkg_add -r py24-pysqlite2 
    55 }}} 
    56  
    57 ==== MySQL ==== 
    58  
    59 This will install the MySQL client libraries and MySQLdb python module.  
    60  
    61 From ports: 
    62 {{{ 
    63 $ cd /usr/ports/databases/py-MySQLdb/ 
    64 $ make install clean 
    65 }}} 
    66 Package install: 
    67 {{{ 
    68 pkg_add -r py24-MySQLdb 
    69 }}}