This is the companion repository for a 7-part series walking through using Laravel to set up barebones blog.
- Part 1: Walk-through installing and configuring Laravel
- Part 2: Create the core models/tables, controllers, and views
- Part 3: Authorization/Login
- Part 4: Post CRUD
- Part 5: Comment CRUD
- Part 6: Validation
- Part 7: Testing
- Start up Laravel
If port 80 and 3306 are open on your local machine
./vendor/bin/sail up
If port 80 (web) or 3306 (mysql) is in use
APP_PORT=6001 FORWARD_DB_PORT=6002 ./vendor/bin/sail up
- Copy the default
.env
file
cp .env.example .env
- Generate application key
./vendor/bin/sail artisan key:generate
./vendor/bin/sail test