Skip to content
This repository was archived by the owner on Apr 3, 2020. It is now read-only.

Instructions for installation

Jim edited this page Apr 25, 2018 · 3 revisions

Requirements for this project:

  • PHP 7.x (This project has not been tested on earlier versions.)
  • Apache 2.4 with RewriteRules Mod enabled
  • MySQL 5.7 or compatible database (the included .sql file was built with MySQL 5.7. If you want to use another database system, it will be your responsibility to convert the included .sql file to your system's needed format)

Instructions

  1. clone the repo to you local environment (Instructions for Cloning)
  2. change the file named "config_example.php" to "config.php". Edit this file entering the information appropriate for your environment.
  3. Import the database schema "GCEMS_empty_db.sql" into MySQL
  4. Insert a new record into the table "employees" containing values for 'username', 'email', and 'Employee_Number'
  5. Insert a new record into the table "employee_securityroles" using the same 'Employee_Number' and assign a 'Security_Role_ID' = '2'
  6. Open up the website.
  7. Browse to "Login" and click "Forgot password"
  8. Follow the instructions to reset the password.
  9. Log in with the new user.

(Updated: April 24, 2018)

Clone this wiki locally