-
create a new folder that contains every file (except public folder) in ~
-
upload public folder (the content of folder) to public_html/
-
install composer inside folder : curl -s https://getcomposer.org/installer | php
-
create a new database & user
-
modify .env with MYSQL info
-
run : php composer.phar install
-
modify public/index.php :
- change :
require __DIR__.'/../<< FOLDER NAME HERE >>/vendor/autoload.php';
$app = require_once __DIR__.'/../<< FOLDER NAME HERE >>/bootstrap/app.php';
- add this after $app :
// set the public path to this directory
$app->bind('path.public', function() {
return __DIR__;
});