cookbook 'laravel-artisan', '= 0.2.0'
laravel-artisan (10) Versions 0.2.0 Follow1
Run laravel's artisan commands
cookbook 'laravel-artisan', '= 0.2.0', :supermarket
knife supermarket install laravel-artisan
knife supermarket download laravel-artisan
Laravel-Artisan Cookbook
Did you ever want to to run Laravel's php artisan commands on an automated infrastructure? If you are using Chef then this cookbook is for you.
Scope
This cookbook supports some of the artisan commands, that are useful on a load balanced server infrastructure.
Commands that are particular useful for development are not supported.
Supported commands:
- down
- up
- ... and more to come
Requirements
- Chef 12.7 or higher
Platform Support
This cookbook has been developed and used on Ubuntu 16.04.
Environment Support
Supported Environments:
* Vagrant
* AWS Opsworks
Cookbook Dependencies
Currently none.
Usage
Place a dependency on the mysql cookbook in your cookbook's metadata.rb
depends 'mysql', '~> 8.0'
or add the dependency in your Berksfile:
ruby
cookbook 'laravel-artisan'
Then, you can run the recipes using Chef's runlist. Right away this will throw an Exception. To get it work properly you have
to pass a path to the directory where the artisan
file is located.
Envirionment file
Passing the path to the artisan file via an environment file:
```json
{
"name": "development",
"description": "Vagrant Development Environment",
"default_attributes": {
"laravel-artisan": {
"path": "<path-to-artisan-file>"
}
},
"json_class": "Chef::Environment",
"chef_type": "environment"
}
### AWS Opsworks
Using AWS Opsworks you can pass in the path via custom json:
```json
"laravel-artisan": {
"path": ""
}
}
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Laravel-Artisan Cookbook Changelog
0.2.0
- Checking existance of the artisan file.
- Added documentation and other required files.
0.1.0
- Initial setup of the cookbook
- Added support of
php artisan down
- Added support of
php artisan up
Collaborator Number Metric
0.2.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.0 passed this metric
Foodcritic Metric
0.2.0 passed this metric
License Metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.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
0.2.0 passed this metric
0.2.0 failed this metric
0.2.0 passed this metric
Foodcritic Metric
0.2.0 passed this metric
License Metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.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
0.2.0 passed this metric
0.2.0 passed this metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.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
0.2.0 passed this metric
0.2.0 passed this metric
0.2.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
0.2.0 passed this metric
0.2.0 passed this metric