create database afya_sisbox_hrm; create user 'sisbox_hrm'@'localhost' identified by 'sisbox_hrm'; grant all on sisbox_hrm.* to 'sisbox_hrm'@'localhost'; mysql -u root -proot -e "drop database sisbox_hrm" mysql -u root -proot -e "create database sisbox_hrm" php artisan migrate:refresh php artisan db:seed php artisan serve 1. composer create-project laravel/laravel sisbox_hrm 2. cd sisbox_hrm 3. mysql -u root -p -e "drop database sisbox_hrm" 4. mysql -u root -p -e "create database sisbox_hrm" 5. Upload folders app, bin, config, database, public, resources 6. sudo chmod -R 777 * sudo chmod 755 -R app bin config database public resources sudo chmod 755 -R app/* bin/* config/* database/* public/* resources/* 9. composer dump-autoload 10. php artisan migrate:refresh 11. php artisan db:seed ##LOCALHOST SETUP 1. I update my httpd-vhosts.conf file located in c:\xampp\apache\conf\extra\ ServerAdmin mawasiliano@truebitstech.com DirectoryIndex index.html index.php DocumentRoot "D:\developertools\xampp\htdocs\sisbox_hrm\public" ServerName sisboxhrm.dev #Options Indexes FollowSymLinks MultiViews #AllowOverride All #Order allow,deny #allow from all Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] ErrorLog "logs/sisbox.dev.error.log" CustomLog "logs/sisbox.dev.access.log" combined 2. Also, you have to update your hosts file (located at c:\Windows\System32\drivers\etc\, and add the following entry: 127.0.0.1 sisboxhrm.dev 3. http://sisboxhrm.dev