From c2106cb9df63a79ec9770a8f551053bcf192345f Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sun, 11 Jul 2010 03:35:06 -0700 Subject: [PATCH] add install notes --- INSTALL | 26 ++++++++++++++++++++++++++ htconfig.php | 24 ++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 INSTALL create mode 100644 htconfig.php diff --git a/INSTALL b/INSTALL new file mode 100644 index 000000000..35417ed0d --- /dev/null +++ b/INSTALL @@ -0,0 +1,26 @@ +Installation guide + +The following notes apply to pre-alpha releases. Some manual installation is required at this time. + + +1. Requirements + - Apache with mod-rewrite enabled and "Options All" so you can use a local .htaccess file + - PHP > 5.1. The later the better. You'll need 5.3 for full openssl encryption support + - PHP command line access with register_argc_argv set to true in the php.ini file + - Mysql 5.x + +2. Edit htconfig.php and change system settings. Rename to .htconfig.php + +3. Import database.sql into your database with mysql command line or via phpmyadmin + +4. Import updates.sql to catch any late-breaking devel changes + +5. Put this directory into the root of your web server document area. + - To use a subdir of your main site, set the + config variable $a->path to the relative subdir + For example to use http://example.com/test - + set $a->path to 'test'. + +6. Navigate to your site with a web browser and register an account. + + diff --git a/htconfig.php b/htconfig.php new file mode 100644 index 000000000..cf52b396a --- /dev/null +++ b/htconfig.php @@ -0,0 +1,24 @@ +config['sitename'] = "DFRN developer"; + +// At the present time you can have REGISTER_OPEN +// or REGISTER_CLOSED. But register your personal account +// first before you close it. + +$a->config['register_policy'] = REGISTER_OPEN;