The page describes how to install the blog.

Download Project

You can install PJ Blog by issuing the Composer create-project command in your terminal:

composer create-project jcc/blog

Alternatively, you may install it via git clone:

git clone

Install Dependencies

Install PHP Dependencies

Install the PHP dependencies:

composer install

Install Front-end Dependencies

Install Laravel Mix, Vuejs, and other Front-end Dependencies:
npm install


Compile the assets

You can compile once:

npm run dev
// or
// yarn run dev

Alternatively, you can compile and run the watcher:

npm run watch
// or
// yarn run watch

To compile for production:

npm run production
// or
// yarn run production

Modify App Configuration

Copy the .env.example to .env:

cp .env.example .env

Afterward, run the blog:install artisan command:

php artisan blog:install

Update Directory Permissions

Laravel requires directories within the storage and the bootstrap/cache directories to be writable by your web server.

Public Directory

You must configure your web server's document/web root to be the public directory.

The index.php in this directory serves as the entry point for all HTTP page requests in your application.

Of course, you can learn more about Laravel in the Laravel Docs

results matching ""

    No results matching ""