-
Notifications
You must be signed in to change notification settings - Fork 49
Setup
JP Barbosa edited this page Mar 14, 2016
·
5 revisions
composer global require "laravel/installer"
laravel new laravel-apz
cd laravel-apz
nano .gitignore
.env*
!.env.example
nano .env
...
DB_CONNECTION=sqlite
...
touch database/database.sqlite
echo '/database/*.sqlite' >> .gitignore
composer require php:~5.5.0
composer require laravelcollective/html
nano config/app.php
'providers' => [
...
Collective\Html\HtmlServiceProvider::class,
]
...
'aliases' => [
...
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
]
nano app/Http/Middleware/VerifyCsrfToken.php
protected function tokensMatch($request)
{
if ($request->wantsJson()) {
return true;
}
return parent::tokensMatch($request);
}
php artisan serve
open http://localhost:8000
git init
git add .
git commit -m "Basic Laravel app files"
Next step: Basic CRUD
- Setup
- Basic CRUD
- Validation
- Views
- Association
- Association Controller
- Association Views
- Basic Template
- Bootstrap
- Bootstrap CRUD
- Alerts
- Welcome Page
- Ajax CRUD
- Send Email
- Send Email Views
- Jobs Queue
- Captcha
- Async External Content
- Cached External Content
- Tests Setup
- Functional Tests
- Acceptance Tests
- Continuous Integration
- Deploy with Heroku
- Deploy with Forge
- Update README