Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 77 lines (52 sloc) 2.775 kb
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
1 Panchang (People on Duty)
2 -------------------------
3 ~~~~~~ Installation Instruction ~~~~~~~
4
5 The installation procedure depends on the base operating system:-
6
355d2bcd »
2012-02-15 .
7 Linux(Fedora, CentOS, RHEL) System
fc9ffe59 »
2012-02-15 .
8 ==================================
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
9
fc9ffe59 »
2012-02-15 .
10 If you have AMP stack (apache, mysql, php) running on your system then follow
11 the following steps:-
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
12
355d2bcd »
2012-02-15 .
13 1) Create a directory named "calendar" inside the apache root directory.
fc9ffe59 »
2012-02-15 .
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
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
17
fc9ffe59 »
2012-02-15 .
18 Else if you want to install this package from scratch on fresh operating system
19 then start installing with these steps:-
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
20
fc9ffe59 »
2012-02-15 .
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
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
26
27
fc9ffe59 »
2012-02-15 .
28 Mac OSX
29 =======
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
30
fc9ffe59 »
2012-02-15 .
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:
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
34
fc9ffe59 »
2012-02-15 .
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.
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
39
fc9ffe59 »
2012-02-15 .
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
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
44
fc9ffe59 »
2012-02-15 .
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/
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
48
fc9ffe59 »
2012-02-15 .
49 6) Run the script mysql_schema.sh to create the required database schema.
50 $ ./mysql_schema.sh
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
51
52
53
fc9ffe59 »
2012-02-15 .
54 Access Panchang by opening the link :
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
55
fc9ffe59 »
2012-02-15 .
56 http://localhost/calendar/index.php
57 or
58 http://SERVERNAME/calendar/index.php
03f2127f »
2012-02-15 .
59 ------------------------------------------------------------------------------------
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
60
fc9ffe59 »
2012-02-15 .
61 NOTE: 3rd party open source packages and codes which have been used to support this
62 package along with their download location :-
57e8e86e »
2012-02-15 Source code uploaded for open sourcing
63
64 * Apache web server :http://httpd.apache.org/download.cgi
65 * PHP :http://in.php.net/distributions/
66 * MySQL :http://www.mysql.com/downloads/mysql/
67 * PEAR :http://pear.php.net/package/PEAR/download
68 * PEAR-DB :http://pear.php.net/package/DB/download
69 * DB_DataObject :http://pear.php.net/package/DB_DataObject/download
70 * YUI Library :http://developer.yahoo.com/yui/
71 * Jquery :http://code.jquery.com/jquery-1.7.1.js
72 * DHTML calendar JS :http://www.dynarch.com/projects/calendar/download/
73
74
75
03f2127f »
2012-02-15 .
76 --------------------------------------------------------------------------------------
Something went wrong with that request. Please try again.