Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

This branch is 2 commits behind msurguy:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
application
bundles
laravel
public
storage
.gitattributes
.gitignore
Boxfile
artisan
license.txt
paths.php
readme.md

readme.md

Simple Blog built on Laravel PHP Framework.

Tutorial and a screencast are on Udemy: http://www.udemy.com/develop-web-apps-with-laravel-php-framework/ <- Laravel tutorials and a course by msurguy

The blog features are :

  • twitter bootstrap layout implemented by bootstrapper bundle
  • user log in and authentification
  • display all posts in paginated view
  • create new posts
  • delete posts

To get this blog working on your local machine first get Laravel up and running (Tutorial here http://maxoffsky.com/tech-blog/getting-laravel-up-and-running-on-local-or-cloud-service/ )

Copy this folder or create a symbolic link to your server's htdocs or www folder.

Create a database "blog" and make sure your database settings in config -> database.php match your database setup.

Then run migrations in the terminal or command line to set up tables from migrations:

php artisan migrate:install
php artisan migrate

If everything is alright, you should see that migration tables are created successfully.

Then in your browser navigate to where your folder is on your server, and in the "public" of that folder (in my case it is localhost/blog/public). You should see an empty blog. Click Login on the top right, and then login with the following username and password:

admin
password

That's it, you should be able to post and delete entries now!

Contributing to This code

Contributions are encouraged and welcome. Submit pull requests or ask questions if something's not clear

License

This Blog is open source and is under MIT license.

Something went wrong with that request. Please try again.