Skip to content
Newer
Older
100644 75 lines (50 sloc) 2.75 KB
57e8e86 @chandrashekharshaw Source code uploaded for open sourcing
chandrashekharshaw authored Feb 15, 2012
1 Panchang (People on Duty)
2 -------------------------
3 ~~~~~~ Installation Instruction ~~~~~~~
4
5 The installation procedure depends on the base operating system:-
6
7 Linux(Fedora, CentOS, RHEL) System
8 ----------------------------------
9
10 If you have AMP stack (apache, mysql, php) running on your system then follow the
11 following steps:-
12
13 1) Create a directory named "calendar" inside the apache root directory.
14 2) Copy the content of "src" directory to newly created directory "calendar".
15 3) Run the script mysql_schema.sh to create the required database schema.
16 $ ./mysql_schema.sh
17
18 Else if you want to install this package from scratch on fresh operating system
19 then start installing with these steps:-
20
21 1) Run the script install.sh which will install and configure the AMP server then
22 install this package on proper position.
23 $ ./install_Linux.sh
24 2) Run the script mysql_schema.sh to create the required database schema.
25 $ ./mysql_schema.sh
26
27
28 Mac OSX
29 -------
30
31 Mac OSX already comes with Apache installed and PHP bundled up with it. By default
32 both are inactive and require us to get them ready for business. This can be achieved
33 by following simple steps:
34
35 1) Run the script install_Mac.sh which will set up the Apache server with PHP support.
36 $ ./install_Mac.sh
37
38 2) Create a directory named "calendar" inside the apache root directory.
39
40 3) Copy the content of "src" directory to newly created directory "calendar".
41
42 4) Download the MySQL package for Mac OSX depending on the base machine from-
43 http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg
44
45 5) Install everything in the package in this order: mysql, the startup item, the
46 preference pane. Run this command
47 export PATH=${PATH}:/usr/local/mysql/bin/
48
49 6) Run the script mysql_schema.sh to create the required database schema.
50 $ ./mysql_schema.sh
51
52
53
54 Access Panchang by opening the link :
55
56 http://localhost/calendar/index.php or http://SERVERNAME/calendar/index.php
57 --------------------------------------------------------------------------------------
58
59 NOTE: 3rd party open source packages and codes which have been used to support this
60 package along with their download location :-
61
62 * Apache web server :http://httpd.apache.org/download.cgi
63 * PHP :http://in.php.net/distributions/
64 * MySQL :http://www.mysql.com/downloads/mysql/
65 * PEAR :http://pear.php.net/package/PEAR/download
66 * PEAR-DB :http://pear.php.net/package/DB/download
67 * DB_DataObject :http://pear.php.net/package/DB_DataObject/download
68 * YUI Library :http://developer.yahoo.com/yui/
69 * Jquery :http://code.jquery.com/jquery-1.7.1.js
70 * DHTML calendar JS :http://www.dynarch.com/projects/calendar/download/
71
72
73
74 ------------------------------------------------------------------------------------------
Something went wrong with that request. Please try again.