This coding template is made especially for Department of Education Regional Office III. If you are planning to use it on your systems, kindly tweak the code as stated below and update your preliminary data (Bootstrap.php).
Prerequisite
Install either XAMPP, WAMP, or LAMP
1.1. If XAMPP for Windows, find htdocs/ directory (usually found inside C:/xampp/htdocs/)
1.2. If XAMPP for Linux, find htdocs/ directory (usually found inside /opt/lampp/htdocs/)
1.3. If WAMP, find www/ directory (usually found in C:/wamp/www/)
1.4. If LAMP, find html/ directory (usually found inside /var/www/html/)
Place this folder to the said locations above
Configure mySQL
3.1. Take note of the username and password you used (you'll use it in the config)
3.2. Create a database (you can follow index.php's $GLOBAL["DB_NAME"])
Make sure both Apache and MySQL are running
Installation
Environment Set-up
Find your php.ini and add "date.timezone = 'Asia/Manila'".
Installation
Open template/index.php.
Change the environment to either 'development', 'testing', or 'production' on line 58 or define('ENVIRONMENT', '')
Change lines 185 to 187 (Database Names)
Open template/application/config/development/database.php
Replace lines 79 (DB username) and 80 (DB password) with the correct settings of your MySQL credentials
Add the name of the database in line 81
Open template/application/config/config.php
Rename template folder to the name of your app
Change folderName of base_url on line 26
Adding Data
Update fields per table by following the sample given on add_field() function
Open template/application/controllers/Bootstrap.php
Insert the data by following the sample given on initialize() function
Running the Application
Make sure to check if Apache and MySQL is running
Make sure to create a database that matches with the config