Installation


Installation

Server Requirements

In order to install Elegant application, your server must meet following requirements:

Installing POS-Inventory

After downloading the ZIP archive, and uploading it to your server, first thing you have to do is to create the database where system tables will be created. Let's say, you create the database called posinventory. You will find the database /assets/database/database.sql

Step1 - Database connect application/config/database.php file

Once you successfully imported database to your system, the last thing is to connect codeigniter to your database, to do this open up database.php file form the config directory and change the database name, user name and password. database.php


$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = '';
$db['default']['database'] = 'databasename';

Step2 - Updating .htaccess file

The final step is to update the .htaccess


RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
// farazisoft.com/portal means base url
RewriteRule ^(.*)$ /portal/index.php?/$1 [QSA,L]

Step3 - Updating config.php file

The final step is to update the application/config/config.php


// change value like ase http://glossytruth.com
$config['base_url']	= "http://glossytruth.posinventory.com";