commit 2623b918b1f795bc4468c38e09770120a92b7074 Author: rob Date: Mon Jun 29 09:04:42 2026 +0000 Migrated from GitLab wiki diff --git a/Intall-Public-Site-on-Local-Machine-%28WIndows-10%29.-.md b/Intall-Public-Site-on-Local-Machine-%28WIndows-10%29.-.md new file mode 100644 index 0000000..bf6919d --- /dev/null +++ b/Intall-Public-Site-on-Local-Machine-%28WIndows-10%29.-.md @@ -0,0 +1,85 @@ + + +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](https://www.apachefriends.org/index.html). + +- Run the installer and follow the on-screen instructions. + +- During installation, choose the components (Apache, MySQL, PHP, phpMyAdmin). + +2. Start XAMPP: + +- Open the XAMPP Control Panel after installation. + +- Start the Apache and MySQL services by clicking the “Start” button next to each. + +3. - 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 + + +4. 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/'; + +5. Dump database `pm_www` on the server and import it on your phpmyadmin. Ask @rob to create one. + +6. 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’, + +// … + +7. 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 + + +6. 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. + + + + + + + + + +