eStack website running on https://www.estack.com/ uses code igniter as framework.
To install on your local machine you need the following:
Note: This is installed on Windows Machine using XAMPP
- Install XAMPP:
-
Download XAMPP from the official website: XAMPP Downloads.
-
Run the installer and follow the on-screen instructions.
-
During installation, choose the components (Apache, MySQL, PHP, phpMyAdmin).
- Start XAMPP:
-
Open the XAMPP Control Panel after installation.
-
Start the Apache and MySQL services by clicking the “Start” button next to each.
-
- Clone code on
htdocsfolder inside your XAMPP installation directory. Eg. C:\xampp\htdocs
- Clone code on
git clone git@git.estack.com:rob/estack-public-site.git estack.com
- Configure CodeIgniter:
-
Open the
application/config/config.phpfile in your CodeIgniter project folder. -
Set the
base_urlto your local development environment. For example:
$config[‘base_url’] = ‘http://localhost/estack.com/';
-
Dump database
pm_wwwon the server and import it on your phpmyadmin. Ask @rob to create one. -
Configure Database:
-
Open the
application/config/database.phpfile. -
Update the database configuration with your MySQL settings:
$db[‘default’] = array(
‘dsn’ => ‘’,
‘hostname’ => ‘localhost’,
‘username’ => ‘root’,
‘password’ => ‘’,
‘database’ => ‘pms_www’,
// …
- To make routing works add
.htacessfile on your local under on estack.com folder.
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php/$1
- Test the Setup:
- Open your web browser and navigate to
http://localhost/estacks.com/.
Now you have successfully set up eStack with XAMPP on Windows.