Skip to content

jasmirabueno/phileduc

Repository files navigation

PhilEduc

J. Mirabueno

Guidelines:

  • Go to localhost/phpmyadmin and create a database named philed
  • Open cmd.exe, change directory (accdng to where you placed the project)
  • type: php artisan migrate

Initial User Set Up (add roles and main admin), Type the ff in cmd

  • php artisan tinker
  • $role = App\Role::create(['name'=>'Main Administrator']);
  • $role = App\Role::create(['name'=>'Institution Administrator']);
  • $role = App\Role::create(['name'=>'Professor']);
  • $role = App\Role::create(['name'=>'Student']);
  • $user = App\User::create(['name'=>'Main Administrator', 'email'=>'admin@philed.com', 'password'=>bcrypt('philedmainadmin'), 'is_verified'=>'true', 'role_id'=>'1']);

URLs:

  • Main admin login: ../auth/login/main-admin

Registration links:

  • Main admin - ../auth/register/main-admin
  • Inst admin - ../auth/register/institution
  • Prof - ../auth/register/professor
  • Student - ../auth/register/student

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages