********************************************************************************
                        iScripts DailyDeals 1.0 Readme File
                                February 17, 2016
********************************************************************************
(c) Copyright Armia Systems, 2016. All rights reserved.

This file contains information that describes the installation of iScripts DailyDeals 1.0
You can find more help on the product and the installation in the /docs folder.

********************************************************************************
Contents
********************************************************************************
 1.0 Introduction
 2.0 Requirements
 3.0 Installing iScripts DailyDeals 1.0
 4.0 Setting cron job
********************************************************************************
1.0 Introduction
********************************************************************************
This file contains important information you should read before installing 
iScripts DailyDeals 1.0

The iScripts DailyDeals 1.0 allows users to quickly setup their daily deals 
platform. 

The iScripts DailyDeals 1.0 relies on GD2 support and it requires GD2
library to be enabled in your PHP.

The iScripts DailyDeals 1.0 relies on Curl support and it requires Curl 
to be enabled in your PHP.

For any support, visit us at http://www.iscripts.com/support/kb/

********************************************************************************
2.0 Requirements
********************************************************************************
The iScripts DailyDeals 1.0 is developed in PHP and the database is
MySQL. Since the software uses a considerably large number of GD2 library
(A PHP add-on library used for image manipulation) functions, it requires your
version of PHP compiled with the GD2 library extension. 

The requirements can be summarised as given below:
	1. PHP > 5.2.3 with GD2 support. 
		You can get the latest PHP version at http://www.php.net
	2. MySQL > 5.x.x
	3. Curl Support (For using Authorize.net, paypal payment gateway)

    Other Requirements for Troublefree installation/working

	* SendMail - (Yes)  
	* PHP safe mode - (OFF) 
	* PHP short tags  - (ON)
	* GD2 extension 
	* CURL extension - (Yes) 
	* PHP memory limit  greater than or equal to 32Mb
	* MySQL extension (PDO Driver)
	* Gettext extension
	* PCRE extension
	* Ability to run cronjobs


********************************************************************************
3.0 Installing iScripts DailyDeals 1.0 
********************************************************************************
3.1) Unzip the entire contents to a folder of your choice.

3.2) Set 'Write' permission (777 for linux server) to the following files/folders.

	a) The folder to which you have extracted your files to. 
	b) config.php
	c) public/images/(to this folder and its subfolders)
	d) system/application/cache
	e) system/application/config/config_local.php
	f) system/application/config/database_local.php
	g) system/logs
	

	

3.3) Run the following URL in your browser and follow the instructions.
		
	http://folder_to_which_you_have_extracted_files/install/
		
	If you have unzipped the files in the root (home directory), you can
	access Iscripts DailyDeals at http://www.yoursitename.
		
	You can also install the script in any directory under the root
		
	If you have no GD2 Library support in your PHP, recompile your PHP
	with GD2 Support to continue.
		
	If you have no Curl support in your PHP, recompile your PHP
	with Curl Support to continue.

	Make the changes requested by the installer if any and then refresh
	the installation url mentioned above to continue.
		
3.4) Provide the database details. (The database should be created and
       appropriate permissions must be set before you continue)

3.5) Enter the site settings. This includes the Site Name, Admin Password,
	 Admin Email etc.
	The settings values are described as below:

	01. Administrator Name           : Name of the administrator of the site.	
	02. Administrator Password       : Password of the administrator of the site.
	03. Adminstrator Mail            : Mail address of the administrator of the site.	
	04. Name of the site             : Name of the site.
	

    

3.6) Remove the 'Write' permission provided to the file 'config.php' 
	and the folder to which you have extracted the files to. 

3.7) Delete the 'install' folder. 

3.8) Run the URL you have extracted the DailyDeals 1.0 files in your browser to access the
	site. If you have unzipped the files in the root (home directory), you can
	access the DailyDeals 1.0 at http://www.yoursitename.

********************************************************************************
4.0 Setting Cronjob
********************************************************************************

This is the line that has to be added to your list of cron tasks:
*/15 * * * * wget -q -O /dev/null "http://yourdomainname/index.php/cron/runJob?cronkey=93bd61ad596d65b5cdbfaee6b29e5e96" > /dev/null 2>&1

If you use cPanel for adding cron task, use this command:

wget -q -O /dev/null "http://yourdomainname/index.php/cron/runJob?cronkey=93bd61ad596d65b5cdbfaee6b29e5e96" > /dev/null 2>&1

and set it to execute every 15 minutes
	