Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
Fresh laravel 5.5 install
Browse files Browse the repository at this point in the history
  • Loading branch information
hedii committed Nov 26, 2017
1 parent add05bc commit 429088b
Show file tree
Hide file tree
Showing 137 changed files with 9,112 additions and 4,177 deletions.
21 changes: 16 additions & 5 deletions .env
Original file line number Diff line number Diff line change
@@ -1,23 +1,34 @@
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:WcNbldRa9SqDlgb67nkd9pThCKrS7PUfPeEAG3wNXg0=
APP_DEBUG=true
APP_KEY=Ezi7sQqUAhvFtOu5wvjoKbGIBkJf2tZi
APP_LOG_LEVEL=debug
APP_URL=http://localhost

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_DATABASE=php_crawler
DB_USERNAME=root
DB_PASSWORD=root
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
21 changes: 16 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,23 +1,34 @@
APP_NAME=Laravel
APP_ENV=local
APP_DEBUG=true
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_DATABASE=php_crawler
DB_USERNAME=root
DB_PASSWORD=root
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
4 changes: 3 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* text=auto
*.css linguist-vendored
*.less linguist-vendored
*.scss linguist-vendored
*.js linguist-vendored
CHANGELOG.md export-ignore
14 changes: 9 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
/vendor
/node_modules
/public/hot
/public/storage
Homestead.yaml
/storage/*.key
/vendor
/.idea
/.vagrant
Homestead.json

.DS_Store
.idea/
Homestead.yaml
npm-debug.log
yarn-error.log
.env
84 changes: 0 additions & 84 deletions README.md

This file was deleted.

62 changes: 0 additions & 62 deletions app/Console/Commands/Crawler/Build.php

This file was deleted.

64 changes: 0 additions & 64 deletions app/Console/Commands/Crawler/Crawl.php

This file was deleted.

33 changes: 0 additions & 33 deletions app/Console/Commands/Inspire.php

This file was deleted.

15 changes: 13 additions & 2 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ class Kernel extends ConsoleKernel
* @var array
*/
protected $commands = [
Commands\Crawler\Build::class,
Commands\Crawler\Crawl::class
//
];

/**
Expand All @@ -28,4 +27,16 @@ protected function schedule(Schedule $schedule)
// $schedule->command('inspire')
// ->hourly();
}

/**
* Register the commands for the application.
*
* @return void
*/
protected function commands()
{
$this->load(__DIR__.'/Commands');

require base_path('routes/console.php');
}
}
Loading

0 comments on commit 429088b

Please sign in to comment.