From 4b9567b6c8dbf399ac3e9b9ea9f17c8fc0e8e51f Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Tue, 30 Oct 2012 20:48:33 +0000 Subject: improved the README.txt file - Michał Masłowski suggestion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- h-source/README.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'h-source/README.txt') 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 == -- cgit v1.2.3