Clone
1
Intall-Public-Site-on-Local-Machine-(WIndows-10)
rob edited this page 2026-06-29 09:04:42 +00:00
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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

  1. 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).

  1. 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 htdocs folder inside your XAMPP installation directory. Eg. C:\xampp\htdocs

git clone git@git.estack.com:rob/estack-public-site.git estack.com

  1. Configure CodeIgniter:
  • Open the application/config/config.php file in your CodeIgniter project folder.

  • Set the base_url to your local development environment. For example:

$config[base_url] = http://localhost/estack.com/';

  1. Dump database pm_www on the server and import it on your phpmyadmin. Ask @rob to create one.

  2. Configure Database:

  • Open the application/config/database.php file.

  • Update the database configuration with your MySQL settings:

$db[default] = array(

dsn => ‘’,

hostname => localhost,

username => root,

password => ‘’,

database => pms_www,

// …

  1. To make routing works add .htacess file on your local under on estack.com folder.

RewriteEngine On

#RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule (.*) index.php/$1

  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.