Simple Blog made in Laravel
PHP JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
msurguy Blog posts can now be edited by the admin.
Added edit post functionality
Latest commit e89dbed Sep 21, 2012
Permalink
Failed to load latest commit information.
application Blog posts can now be edited by the admin. Sep 20, 2012
bundles Working Blog Aug 2, 2012
laravel Working Blog Aug 2, 2012
public Working Blog Aug 2, 2012
storage Working Blog Aug 2, 2012
.gitattributes Working Blog Aug 2, 2012
.gitignore Working Blog Aug 2, 2012
Boxfile Added Pagodabox boxfile Aug 2, 2012
artisan Working Blog Aug 2, 2012
license.txt Working Blog Aug 2, 2012
paths.php Working Blog Aug 2, 2012
readme.md Working Blog Aug 2, 2012

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.