1. Deploying NextJS to VPS
| Updated: (2 weeks ago)Connenting to server with ssh in terminal:ssh root@ip -p22Update the server:apt updateapt upgradeConfigure SSH:Change the #Port 22 to other thingnano /etc/ssh/sshd_configChange password of ssh:Enter code and type new password in terminal for root use... Read More
2. Laravel Common commands
| Updated: (2 weeks ago)Laravel Commandscreating new project:composer create-project --prefer-dist laravel/laravel projectName '5.4.*' creating middleware:php artisan make:middleware https://scotch.io/tutorials/understanding-laravel-middlewareCreate Table on Database:p... Read More
3. SQL Stored Procedure in Laravel
| Updated: (2 weeks ago)How to use SQL Stored Procedure in LaravelCreate the procedure — Without parameterDELIMITER $$DROP PROCEDURE IF EXISTS GetUsers$$CREATE PROCEDURE GetUsers() BEGIN SELECT * FROM users;END$$DELIMITER ;Verify the outputCALL GetUsers();Create the proced... Read More