Changeset 223

Show
Ignore:
Timestamp:
09/01/04 16:20:56 (9 years ago)
Author:
benoitg
Message:

2004-08-31 Benoit Gr�goire <bock@…>

  • sql/: Update the postgres schemas and add scripts to ease maintaining it.
  • sql/sync_sql_for_cvs.sh: Should you modify the schema in your db, run this script to the chances will be available in the cvs schemas and initial data.
  • sql/dump_initial_data_postgres.sh: This does the actual dump of the data in a runnable form. Note that this needs to be edited manually if you add a new table requiring initial data.
  • INSTALL: Update for postgres. Somebody please test this.
Location:
trunk/wifidog-auth
Files:
6 added
2 removed
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/ChangeLog

    r222 r223  
    11# $Header$ 
     22004-08-31 Benoit Gr�goire  <bock@step.polymtl.ca> 
     3        * sql/: Update the postgres schemas and add scripts to ease maintaining it. 
     4        * sql/sync_sql_for_cvs.sh: Should you modify the schema in your db, run this script to the chances will be available in the cvs schemas and initial data. 
     5        * sql/dump_initial_data_postgres.sh: This does the actual dump of the data in a runnable form.  Note that this needs to be edited manually if you add a new table requiring initial data. 
     6        * INSTALL:  Update for postgres.  Somebody please test this. 
     7 
    282004-08-31 Benoit Gr�goire  <bock@step.polymtl.ca> 
    39        * wifidog/ping/index.php: Implement logging of which hotspot sent the heartbeat, from which ip and when. 
  • trunk/wifidog-auth/INSTALL

    r162 r223  
    44php's php-xml extention installed. (Required if RSS support is on) 
    55php compiled with gettext support (Will be autodetected if unavailable, but you will loose internationalization) 
     6PostgreSql (mysql code alse exists, but is looking for a maintainer) 
    67 
    7 Install: 
     8Install files: 
    89 
    910-Uncompress the tarball on your web server. 
    10 -Put the content of the libs directory in the smarty tarball in lib/smarty/ 
    11 -Put the content of the magpierss-0.xx directory in the magpierss tarball in lib/magpie.  If you do not wish to install RSS support, you must set define('RSS_SUPPORT', false) in config.php. 
     11-Copy the content of the libs directory of the smarty tarball in lib/smarty/ 
     12-Copy the content of the magpierss-0.xx directory of the magpierss tarball in lib/magpie.  If you do not wish to install RSS support, you must set define('RSS_SUPPORT', false) in config.php. 
    1213 
    1314-local_content/cache/, and everything in tmp/smarty must be at least writable by your web server.  Run "sh permissions.sh" to set them 777 
    14 -Import wifidog.schema to create your database. 
     15 
     16Database: 
     17-Create the user wifidog (both in postgres and on your system). 
     18-Import the schema: 
     19        psql -d template1 -U wifidog -W -f sql/wifidog-postgres-schema.sql 
     20-Import initial data: 
     21        psql -d template1 -U wifidog -W -f sql/wifidog-postgres-initial-data.sql 
     22 
     23Configure the system:    
    1524-Edit wifidog/config.php to suit your environment. 
    16 -Enjoy. 
     25 
     26Enjoy! 
    1727 
    1828