This server is the core Learning Management System. It is dependent on the authentication service, without which it will not function.
- PHP >= 7.2.5
- BCMath PHP Extension
- Ctype PHP Extension
- Fileinfo PHP Extension
- JSON PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PDO PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
Warning: This software is not suitable for production use.
Laravel utilizes Composer to manage its dependencies. Consult with your operating system's manual for installing it.
-
Clone this repository into a folder of your choice.
-
Execute in a terminal open in the same folder,
composer install
-
Setup the environment variables
- Copy the file .env.example into a new file .env
- Make sure you have entered the correct database details.
- Fill in the Authentication service URI, client ID, and client secret generated from the authentication service.
- Run
php artisan key:generate --ansi
to set up the application's keys.
-
Set up Database
php artisan migrate --seed
There are two ways to run the application
- Web server
We recommend running the server under Nginx. More information can be found here.
- Local dev environment
This server can be run locally with the help of the following command:
php artisan serve
Create a teacher account from the authentication service to start.
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling.