The "Islam Companion website" project is a website that allows users to read Holy Quran and Hadith text. It also allows users to subscribe to Holy Quran and Hadith by email. An example of the Islam Companion website is the Islam Companion website
The goal of the Islam Companion website is to provide a basic website that displays Holy Quran and Hadith data. The user may customize this website according to their requirements.
The Islam Companion website has the following features:
- It has a reader that displays Holy Quran verses
- It has a reader that displays Hadith text
- It allows downloading Hadith database in .sql format
- It allows users of the website to send a message to the website administrator
- The source code is available under GPL License
- The source code is well commented, modular and easy to update
The Islam Companion website has the following limitations:
- The Quran text is in Urdu language only. Support for more languages is coming soon !
- The Hadith text is in Urdu language only. Support for more languages is coming soon !
The following steps can be used to install the "Islam Companion" project on your own server:
- Download the source code from GitHub
- Move the source code to the document root of a virtual host
- Download the contents of the database from: here
- Extract the downloaded file
- Create a database and import the contents of the sql to the database. Note down the credentials used for connecting to the database
- Enter the database credentials in the file islamcompanion/config/RequiredObjects.php
- In the file: islamcompanion/Config.php, on line 32 enter the domain names that will be used to access the website
- Customize the following variables in the file: islamcompanion/config/General.php. $config['app_name'], $config['dev_mode'] and $config['site_url']
- Customize the variables in the file: islamcompanion/config/Custom.php. The comments explain what each variable is used for
- Set the $config['pear_folder_path'] variable in the file: islamcompanion/config/Path.php. The variable should be set to the path of the pear installation.
- Visit the website in a browser
- The layout and text of the website can be edited in html files inside the folder: islamcompanion/ui/html. For example to edit the website header, the file: islamcompanion/ui/html/base/header.html needs to be edited