Manage you studies!
Domain: http://unitor.tk/public/
This is how you run UNITOR on a Linux system using artisan and apache server (httpd). You will need composer.
-
Run the following commands to install all the required dependencies:
$ npm install $ composer install -
Configure the
.envfile with the database engine you use, the database name and etc.$ cp .env.example .env # edit .env fileExample
.envdatabase configuration:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=unitor DB_USERNAME=root DB_PASSWORD= -
Start your database server and Apache Server; here we use MySQL.
$ systemctl start mysqld httpd -
Run the migrations
$ php artisan migrate:fresh --seed -
Start your server
$ php artisan serve -
Go to http://localhost:8000 and browse in UNITOR!
To run it with docker, you can run the launch.sh.example code (Removing .example and run it like a sh script), having the UNITOR folder in root directory (you can also edit this file).