aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-11 03:35:06 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-11 03:35:06 -0700
commitc2106cb9df63a79ec9770a8f551053bcf192345f (patch)
tree6f79df44192ec21939e2f5af267b9f299d5c883e
parent7a21a000a2b02e7dd443fd0f3ee09172de825b08 (diff)
downloadvolse-hubzilla-c2106cb9df63a79ec9770a8f551053bcf192345f.tar.gz
volse-hubzilla-c2106cb9df63a79ec9770a8f551053bcf192345f.tar.bz2
volse-hubzilla-c2106cb9df63a79ec9770a8f551053bcf192345f.zip
add install notes
-rw-r--r--INSTALL26
-rw-r--r--htconfig.php24
2 files changed, 50 insertions, 0 deletions
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 @@
+<?php
+
+// Set the following for your MySQL installation
+// Copy or rename this file to .htconfig.php
+
+$db_host = 'your.mysqlhost.com';
+$db_user = 'mysqlusername';
+$db_pass = 'mysqlpassword';
+$db_data = 'mysqldatabasename';
+
+// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
+// It can be changed later and only applies to timestamps for anonymous viewers.
+
+$default_timezone = 'Australia/Sydney';
+
+// What is your site name?
+
+$a->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;