aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--h-source/README.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/h-source/README.txt b/h-source/README.txt
index 1c8d821..c8eba0d 100644
--- a/h-source/README.txt
+++ b/h-source/README.txt
@@ -4,6 +4,12 @@
h-source is a web software that can be used to build a community of people that want to share their hardware information. It is based on the EasyGiant PHP framework (www.easygiant.org) and can be considered an EasyGiant application
+== Requirements ==
+
+* php5-gd
+* php5-cli
+
+
== Installation and configuration ==
In order to use h-source you have to install a web server that supports the URL rewrite feature (such as the Apache server with the mod_rewrite module installed), PHP 5.2 or newer and Mysql 5 or newer.
@@ -111,6 +117,25 @@ Modify the PHP file Application/Include/distributions.php
Modify the PHP file Application/Include/languages.php
+== How to fill the vendors entry ==
+
+After the installation you have to fill the MySQL table containing the vendors. To carry out this task you need to download the proper scripts using the following command:
+
+ svn co svn://svn.savannah.nongnu.org/h-source/trunk/scripts/vendorid
+
+Move into the just downloaded vendorid folder. Open the file connect.php and modify the following variables:
+
+ $host = 'name of the mysql server (the same used for h-source)';
+ $user = 'database user (the same used for h-source)';
+ $password = 'database pasword (the same used for h-source)';
+ $dbName = 'database name (the same used for h-source)';
+
+Be sure you have installed php5-cli, then write the following command:
+
+ php5 insert_vendors.php
+
+It will fill the vendors MySql table. It will take a bit.
+
== Learn the EasyGiant PHP framework ==