-
Notifications
You must be signed in to change notification settings - Fork 0
Setup
Déruaz Vincent edited this page Jan 18, 2016
·
11 revisions
-
Clone the repository
-
Go to the projet directory
-
Install via Composer
composer install -
Generate key
php artisan key.generate -
Create a database. Ex: db_blog
-
Complete .env file
-
Deploy the database
php artisan migrate --seed" //remove --seed if you donn't want the seeded db
Follow the above procedure localy and use your favorite FTP to move your blog to the final hosting system.
- Move all content of "/public" to your www racine
- Edit the "index.php" file
- Edit permissions for "storage" directory to 777
- Modify the following lines:
Line 21
require __DIR__.'/../bootstrap/autoload.php';
to
require __DIR__.'/./bootstrap/autoload.php';
and line 35
$app = require_once __DIR__.'/../bootstrap/app.php';
to
$app = require_once __DIR__.'/./bootstrap/app.php';
To deploy your database, export it in sql from your local deploy and import it on your final hosting system.