{"id":1320,"date":"2016-12-30T09:39:36","date_gmt":"2016-12-30T09:39:36","guid":{"rendered":"http:\/\/myprojects.advchaweb.com\/?p=1320"},"modified":"2016-12-30T09:39:36","modified_gmt":"2016-12-30T09:39:36","slug":"laravel-auction","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2016\/12\/30\/laravel-auction\/","title":{"rendered":"Laravel Auction"},"content":{"rendered":"<p>Source: <a href=\"https:\/\/github.com\/ddichov\/PHP\">https:\/\/github.com\/ddichov\/PHP<\/a> (Laravel 4.1. IT SEEMS OLD FASHION &amp; NOT GOOD)<\/p>\n<p>Installation:<\/p>\n<ol>\n<li>Dwonload in zip file from <a href=\"https:\/\/github.com\/ddichov\/PHP\">https:\/\/github.com\/ddichov\/PHP<\/a>Then just get the common laravel directory and rename to &#8216;laravel-auction&#8217;<\/li>\n<li>Install required components:\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~\/Documents\/works\/laravel\/laravel-auction$ composer install<\/pre>\n<\/li>\n<li>Create a database &#8216;laravel_auction&#8217; via phpmyadmin<\/li>\n<li>Set a few configuration settings in \/app\/config\/app.php like\n<pre class=\"lang:default decode:true\">'url' =&gt; 'http:\/\/localhost\/works\/laravel\/laravel-auction\/public',<\/pre>\n<p>and the database (Laravel 4 dont use .env file to store the database setting) in \/app\/config\/database.php<\/p>\n<pre class=\"lang:default decode:true\">'mysql' =&gt; array(\r\n    'driver'    =&gt; 'mysql',\r\n    'host'      =&gt; 'localhost',\r\n    'database'  =&gt; 'laravel_auction',\r\n    'username'  =&gt; 'root',\r\n    'password'  =&gt; 'XXX',\r\n    'charset'   =&gt; 'utf8',\r\n    'collation' =&gt; 'utf8_unicode_ci',\r\n    'prefix'    =&gt; '',\r\n),\r\n<\/pre>\n<p>&nbsp;<\/li>\n<li>generate the new key\n<pre class=\"lang:default decode:true \">php artisan key:generate<\/pre>\n<p>&nbsp;<\/li>\n<li>set file permission to 777 for \/app\/storage\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~\/Documents\/works\/laravel\/laravel-auction$ sudo chmod -R 777 app\/storage\/<\/pre>\n<p>&nbsp;<\/li>\n<li>Migrate the tables to the database\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~\/Documents\/works\/laravel\/laravel-auction$ php artisan migrateMigration table created successfully.\r\nMigrated: 2014_04_23_071411_create_users_table\r\nMigrated: 2014_04_23_072123_create_auctions_table\r\nMigrated: 2014_04_23_080253_create_auction_prices_table\r\nMigrated: 2014_06_02_115746_create_categories_table\r\nMigrated: 2014_06_02_120056_create_comments_table\r\nMigrated: 2014_06_02_120558_create_votes_table<\/pre>\n<\/li>\n<li>Open it\u00a0http:\/\/localhost\/works\/laravel\/laravel-auction\/public\/<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/12\/laravel-auction.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1321\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/12\/laravel-auction.jpg\" alt=\"laravel-auction\" width=\"935\" height=\"269\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/12\/laravel-auction.jpg 935w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/12\/laravel-auction-300x86.jpg 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/12\/laravel-auction-768x221.jpg 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Source: https:\/\/github.com\/ddichov\/PHP (Laravel 4.1. IT SEEMS OLD FASHION &amp; NOT GOOD) Installation: Dwonload in zip file from https:\/\/github.com\/ddichov\/PHPThen just get the common laravel directory and rename to &#8216;laravel-auction&#8217; Install required components: teddy@teddy-K43SJ:~\/Documents\/works\/laravel\/laravel-auction$ composer install Create a database &#8216;laravel_auction&#8217; via phpmyadmin Set a few configuration settings in \/app\/config\/app.php like &#8216;url&#8217; =&gt; &#8216;http:\/\/localhost\/works\/laravel\/laravel-auction\/public&#8217;, and the database (Laravel &hellip; <a href=\"https:\/\/myprojects.advchaweb.com\/index.php\/2016\/12\/30\/laravel-auction\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Laravel Auction&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,13],"tags":[],"class_list":["post-1320","post","type-post","status-publish","format-standard","hentry","category-laravel","category-tutorial"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=1320"}],"version-history":[{"count":1,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1320\/revisions"}],"predecessor-version":[{"id":1322,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1320\/revisions\/1322"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=1320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=1320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=1320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}