Source: https://github.com/ddichov/PHP (Laravel 4.1. IT SEEMS OLD FASHION & NOT GOOD)
Installation:
- Dwonload in zip file from https://github.com/ddichov/PHPThen just get the common laravel directory and rename to ‘laravel-auction’
- Install required components:
1teddy@teddy-K43SJ:~/Documents/works/laravel/laravel-auction$ composer install - Create a database ‘laravel_auction’ via phpmyadmin
- Set a few configuration settings in /app/config/app.php like
1'url' => 'http://localhost/works/laravel/laravel-auction/public',
and the database (Laravel 4 dont use .env file to store the database setting) in /app/config/database.php
12345678910'mysql' => array('driver' => 'mysql','host' => 'localhost','database' => 'laravel_auction','username' => 'root','password' => 'XXX','charset' => 'utf8','collation' => 'utf8_unicode_ci','prefix' => '',),
- generate the new key
1php artisan key:generate
- set file permission to 777 for /app/storage
1teddy@teddy-K43SJ:~/Documents/works/laravel/laravel-auction$ sudo chmod -R 777 app/storage/
- Migrate the tables to the database
1234567teddy@teddy-K43SJ:~/Documents/works/laravel/laravel-auction$ php artisan migrateMigration table created successfully.Migrated: 2014_04_23_071411_create_users_tableMigrated: 2014_04_23_072123_create_auctions_tableMigrated: 2014_04_23_080253_create_auction_prices_tableMigrated: 2014_06_02_115746_create_categories_tableMigrated: 2014_06_02_120056_create_comments_tableMigrated: 2014_06_02_120558_create_votes_table - Open it http://localhost/works/laravel/laravel-auction/public/
