Skip to content
Laravel CRUD Blog with Blade - Part 1
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests
.editorconfig
.env.example
.gitattributes
.gitignore
LICENSE.md
after.sh
aliases
artisan
composer.json
composer.lock
package.json
phpunit.xml
readme.md
server.php
webpack.mix.js

readme.md

Part 1 - Laravel Blog - CRUD

Part 1 of a Laravel CRUD (Create, Read, Update, Delete) series, showing how to build a blog with blade

Article

Laravel Blog

Setup

# Install dependencies
$ composer install

# Generate Vagrantfile and Homestead.yaml
# Windows
$ vendor\\bin\\homestead make
# Mac/Linux
$ php vendor/bin/homestead make

# Add IP and URL found in homestead.yaml to your hosts file (change these if you want)

# Rename .env.example to .env
$ mv .env.example .env

# Start Virtual Machine
$ vagrant up

# SSH into VM
$ vagrant ssh

# Change to code directory
$ cd code

# Generate application key
$ php artisan key:generate

# Run database migrations
$ php artisan migrate

The blog can then be accessed locally at the URL specified in the Homestead.yaml file.

You can’t perform that action at this time.