Installing OFAS

System Requirements

  • PHP 7.1 >

  • MySQL Database

  • Apache Web Server

Configuring *.env file

  1. Copy the provide configuration file.

  2. $cp env.example .env

  3. Set the proper database parameters for DB_DATABASE, DB_USERNAME and DB_PASSWORD.

Install OFAS

  1. $composer install

  2. $php artisan migrate --seed

Setting Admin Password

  1. $php artisan tinker

  2. >>> $user = User::find(1);

  3. >>> $user->password = Hash::make('yourpassword');

  4. >>> $user->save();