apache123 / blog50

Example Laravel web app created for the CS50 seminar "Building Dynamic Web Apps with Laravel"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog50

This is a simple Laravel app for a blog website to demonstrate key features of this web framework

Companion slides: https://www.dropbox.com/s/nmi8sryhnl8voqo/eouyang_cs50_laravel-seminar_slides.pdf?dl=0

It is recommended that you run this example on the CS50 Appliance

Setup

  1. Install composer (for dependency management)

curl -sS https://getcomposer.org/installer | php

sudo mv composer.phar /usr/local/bin/composer

  1. Download the repository.

Distribution code: git clone https://github.com/ericouyang/blog50.git

Completed example: git clone -b completed https://github.com/ericouyang/blog50.git

  1. Navigate into the new blog50 folder and install dependencies

composer install

  1. If you're running the completed example, you need to create the database called blog50 and then run

php artisan migrate

  1. Run the server using

php artisan serve

  1. Go to this in your browser

http://localhost:8000

About

Example Laravel web app created for the CS50 seminar "Building Dynamic Web Apps with Laravel"


Languages

Language:PHP 98.9%Language:CSS 1.1%