Skip to content
Déruaz Vincent edited this page Jan 18, 2016 · 11 revisions

Setup

  1. Clone the repository

  2. Go to the projet directory

  3. Install via Composer

      composer install
    
  4. Generate key

     php artisan key.generate
    
  5. Create a database. Ex: db_blog

  6. Complete .env file

  7. Deploy the database

     php artisan migrate --seed" //remove --seed if you donn't want the seeded db
    

Setup on shared hosting

Follow the above procedure localy and use your favorite FTP to move your blog to the final hosting system.

  1. Move all content of "/public" to your www racine
  2. Edit the "index.php" file
  3. Edit permissions for "storage" directory to 777
  4. 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.

Clone this wiki locally