This project is a simple example about how to use Laravel with a different approach in the authentication workflow.
-
Install LAMP stack
-
Install Lavarel
-
Install phpunit
-
Run the command: sudo nano /etc/apache2/mods-enabled/dir.conf
Include index.php to the list Save the file
-
Download the folder [public_news]
-
Login in the MySQl, run the command: mysql -u root -p[password]
-
Create the database, run the command: create database public_news; exit;
-
Restore the database: run the command: mysql -u root -p[password] public_news < [Your Folder]/Source/backup.sql
-
Login in the MySQl, run the command: mysql -u root -p[password]
-
run the command: CREATE USER 'user_connection'@'localhost' IDENTIFIED BY '$eguro01';
-
run the command: GRANT ALL ON public_news.* TO 'user_connection'@'localhost';
-
run the command: cd /var/www/html
-
copy [Your Folder]/Source/public_news to /var/www/html
-
Run the commands: cd /var/www/html/public_news php artisan serve
-
Open the application http://localhost:port/