Programming Language: PHP 7.3.x (Verified April 24, 2019) DBMS: MariaDB Server 10.3.14 (Verified April 24, 2019) Framework: CodeIgniter 3.1.10 (Updated July 2, 2019)
This Document Tracking System is made especially for Department of Education Regional Office 3.
Find Apache's php.ini and add "date.timezone = 'Asia/Manila'".
Go to root directory of this folder and find index.php
3.1 Insert your office code to $GLOBALS['OFFICE_CODE'] in line 188 3.2 Change the delimiter to $GLOBALS['OFFICE_PREFIX'] in line 189 3.3 Add the database information that you will use in lines 194-214
3.3.1 If some entry are not applicable, you can just leave a blank inside the single quotes. 3.3.2 You can customize the app name by changing $GLOBALS['APP_NAME']
3.4 "Privileged roles" are roles that can access confidential documents; Replace them with the role code/s in line 218 3.5 Manage DocTrax record status ($GLOBALS['STATUS']) by manipulating the rows inside line 222-228 3.6 When routing a document, the action taken ($GLOBALS['ACTION_TAKEN']) shows what others do to that records; Change the lines 233-255
1.1.1 Opening application/config/<environment name>/config.php 1.1.2 Edit $config['base_url'] in Line 26 (Just make sure that this folder name matches with the name you supplied)
1.0. Open browser then go to http://localhost/devdoctrax/dbsetup/setup 1.1 If you wish to rename based on your liking, you can do so by:
1.1.1 Opening application/config/<environment name>/database.php 1.1.2 Change hostname in line 78 1.1.3 Add the username you will use to access the database in line 79 1.1.4 Supply the matching password in line 80 1.1.5 Place the name of the database that DocTrax will use in line 81
2.1 Make sure to match your superadmin's office code in Bootstrap.php by editing Line 300
Note: This only works if server used is Linux. No workaround for Windows servers. Pre-requisite: 1. libsmbclient-dev
1.1. (Debian) sudo apt-get install libsmbclient-dev 1.2. (RedHat) sudo yum install libsmbclient-devel
Configuration: 1. Open index.php 2. Go to lines 192-235
2.1 Alternatively, you can look for SMB global variables
3. Run the app through localhost/<folder name> -- Steps 4-6 only works for development or testing environment only -- 4. Setup the database by typing localhost/<folder name>/dbsetup/setup.
4.1 A message "Done" will be shown 4.2 Else, review the contents inside application/controllers/Dbsetup.php OR check if Database Set-up was correctly followed
-> If errors exist during installation, please check the logs in application/logs/log-{current-date}.php