Laravel and Vue blog with admin panel allowing to :
- create, read, update and delete posts,
- create, read, update and delete categories and tags,
- manage user roles and permissions,
- Install Composer Dependencies:
composer install
- Install NPM Dependencies:
npm install
- Create a copy of .env file (copy of env.example):
cp .env.example .env
- Generate an app encryption key:
php artisan key:generate
-
Create a new database for the application.
-
In the .env file, add database information to allow Laravel to connect to the database. In .env file fill in the DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, and DB_PASSWORD options to match the credentials of the database you just created.
-
Migrate the database:
php artisan migrate
- Seed the database:
php artisan db:seed --class=DatabaseSeeder