cookbook 'laravel', '~> 1.0.0'
laravel (1) Versions 1.0.0 Follow5
Installs and configures Laravel and additional modules
cookbook 'laravel', '~> 1.0.0', :supermarket
knife supermarket install laravel
knife supermarket download laravel
Description
The Chef Laravel cookbook installs and configures Laravel 4 according to the instructions at http://laravel.com.
It includes:
* Jefferey Way's Laravel 4 Generators
* Frozennodes's Laravel Admin
Platform
- Debian, Ubuntu
Cookbooks
- MySQL
- PHP
- Apache2
- Composer
Attributes
node ['laravel']['db']['host']
- Host for the Laravel MySQL database
:default => "localhost"
node ['laravel']['db']['user']
- Laravel will connect to MySQL using this user
:default => "root"
node ['laravel']['db']['pass']
- Password for the Laravel MySQL user
:default => "MySQL::server_root_password"
node ['laravel']['db']['name']
- Laravel will connect to this MySQL database
:default => "laraveldb"
node ['laravel']['project_root']
- Laravel project root directory
:default => "/srv"
node ['laravel']['project_name']
- Laravel project name
:default => "user defined requirement"
Recipes
Laravel
This will install Laravel 4, create your project, create the associated database, and setup your apache VitrualHost.
This will also install Jefferey Way's Laravel 4 Generators. For more information please view this project on GitHub.
Admin
This will install FrozenNode's Laravel Admin. For more information please view this project on GitHub.
Usage
To install Laravel add the "laravel" recipe to your run list.
To install the admin module add the "laravel::admin" recipe to your run list.
After installation in a development environment add dev.{your_project_name}.com
to your hosts file.
License and Author
Author: Michael Beattie (https://github.com/BeattieM - beattiem@knights.ucf.edu)
Licensed under the MIT license.
Acknowledgements
- Jefferey Way's Laravel 4 Generators is the property of Jefferey Way
- FrozenNodes's Laravel Admin is the property of FrozenNode
Dependent cookbooks
php >= 0.0.0 |
apache2 >= 0.0.0 |
mysql >= 0.0.0 |
composer >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: laravel/recipes/default.rb:35
FC064: Ensure issues_url is set in metadata: laravel/metadata.rb:1
FC065: Ensure source_url is set in metadata: laravel/metadata.rb:1
FC066: Ensure chef_version is set in metadata: laravel/metadata.rb:1
FC069: Ensure standardized license defined in metadata: laravel/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: laravel/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: laravel/recipes/default.rb:35
FC064: Ensure issues_url is set in metadata: laravel/metadata.rb:1
FC065: Ensure source_url is set in metadata: laravel/metadata.rb:1
FC066: Ensure chef_version is set in metadata: laravel/metadata.rb:1
FC069: Ensure standardized license defined in metadata: laravel/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: laravel/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: laravel/metadata.rb:1
FC065: Ensure source_url is set in metadata: laravel/metadata.rb:1
FC066: Ensure chef_version is set in metadata: laravel/metadata.rb:1
FC069: Ensure standardized license defined in metadata: laravel/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: laravel/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number