[scu-smp] r277 committed - Edited wiki page SetupDevelopment through web user interface.

0 views
Skip to first unread message

scu...@googlecode.com

unread,
Oct 4, 2010, 11:58:27 PM10/4/10
to scu...@googlegroups.com
Revision: 277
Author: sid.moradi
Date: Mon Oct 4 20:57:49 2010
Log: Edited wiki page SetupDevelopment through web user interface.
http://code.google.com/p/scu-smp/source/detail?r=277

Modified:
/wiki/SetupDevelopment.wiki

=======================================
--- /wiki/SetupDevelopment.wiki Thu Aug 5 16:19:35 2010
+++ /wiki/SetupDevelopment.wiki Mon Oct 4 20:57:49 2010
@@ -1,4 +1,5 @@
#summary This wiki shows how to configure your computer for development.
+#labels Phase-Deploy,Phase-Implementation

= Required software =

@@ -7,11 +8,16 @@
* PHP-5.2.x
* MySQL-5.x

-Note: 'x' stands for any number, but if you want have exact number then
find it from [http://infotech.scu.edu.au here]
-
-Note2: For easy installation, you may want use XAMP for windows
([http://www.apachefriends.org/en/xampp-windows.html link]).
+
+Note: For easy installation, you may want use XAMP for windows
([http://www.apachefriends.org/en/xampp-windows.html link]).

= Required configuration =
+
+== Database config file==
+{project_root}/smp/config/[http://code.google.com/p/scu-smp/source/browse/trunk/smp-php/smp/config/smp_config.xml
smp_config.xml]
+
+You can change DSN config to yours or create similar MySQL environment
like below:
+
== MySQL ==
Run below commands in MySQL console
{{{
@@ -20,6 +26,44 @@
GRANT ALL ON smp.* to smp@localhost;
\. /path/to/your/db/schema.sql
}}}
-
-== Others ==
-We may have more configuration in continue , I will promises to mentioned
them here ;-)
+Note: SMP schema file is on root of project
([http://code.google.com/p/scu-smp/source/browse/trunk/smp-php/db.sql
db.sql]).
+
+== PEAR packages ==
+Install below PEAR packages :
+{{{
+pear install HTML_Table-1.8.3
+pear install HTTP_Upload-1.0.0b1
+pear install Image_Transform-0.9.3
+pear install Mail-1.2.0
+pear install Net_SMTP-1.4.2
+pear install -o Structures_DataGrid-0.9.0
+pear install -o Structures_DataGrid_DataSource_MDB2-0.1.11
+pear install -o Structures_DataGrid_Renderer_CSV-0.1.4
+pear install -o Structures_DataGrid_Renderer_HTMLTable-0.1.5
+pear install -o Structures_DataGrid_Renderer_Pager-0.1.3
+pear install -o Structures_DataGrid_Renderer_XLS-0.1.3
+pear install OLE-0.6.1
+pear install Pager-2.4.8
+pear install MDB2-2.5.0b2
+pear install MDB2_Driver_mysql-1.5.0b2
+pear install Structures_Graph-1.0.3
+pear install Spreadsheet_Excel_Writer-0.9.2
+}}}
+Note: Different versions should work fine too, if you want last version
just type {{{pear install package_name}}} (without version number).
+
+Note2 : If you got error for install Structures_DataGrid then try {{{pear
install -o Structures_DataGrid-beta}}} (solution from
[http://pear.php.net/manual/en/package.structures.structures-datagrid.installation.php
here]).
+
+== Mail Server ==
+{project_root}/smp/util/[http://code.google.com/p/scu-smp/source/browse/trunk/smp-php/smp/util/MailUtil.php
MailUtil.php]
+
+SMTP is default settings for sending email.
+
+for different config you can have a look at
[http://pear.php.net/package/Mail/docs here].
+
+== Others ==
+If you installed local copy of PEAR on a shared host, then
+you need to make sure line 6 of
[http://code.google.com/p/scu-smp/source/browse/trunk/smp-php/index.php
index.php] refers to PEAR directory correctly.
+{{{
+// Include a local PEAR copy on a shared host
+set_include_path('~/pear/lib' . PATH_SEPARATOR . get_include_path());
+}}}

Reply all
Reply to author
Forward
0 new messages