Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/svpernova09/homesteadskeleton
DEPRECATED: Please use https://github.com/laravel/homestead
https://github.com/svpernova09/homesteadskeleton
Last synced: 3 months ago
JSON representation
DEPRECATED: Please use https://github.com/laravel/homestead
- Host: GitHub
- URL: https://github.com/svpernova09/homesteadskeleton
- Owner: svpernova09
- License: mit
- Archived: true
- Created: 2015-05-17T19:30:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-28T03:13:53.000Z (over 9 years ago)
- Last Synced: 2024-10-01T07:02:28.240Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 155 KB
- Stars: 31
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# Homestead Skeleton
## This project is depreciated.
[You can now easily install homestead per project](http://laravel.com/docs/5.1/homestead#per-project-installation)
The purpose of this is package is to easily provide the [Laravel Homestead](https://github.com/laravel/homestead)
Vagrant environment without having to rely on using the ```homestead``` command line application.
Another use case would be if you do not have / do not want PHP locally installed on your system.You will at least need composer on your system to use this artisan command.
If you do not have / want composer on your local system, copy everything in the files/ folder to the root of your Laravel project.## Installation
Add ```"svpernova09/homesteadskeleton": "1.0.*``` to your project's ```composer.json``` in require-dev.
Run ```composer update```
Add to ```app/Providers/AppServiceProvider.php``` register() method:```
if ($this->app->environment() == 'local') {
$this->app->register('Svpernova09\HomesteadSkeleton\HomesteadSkeletonServiceProvider');
}
```## Usage (Laravel)
Once you have followed the installation instructions:```php artisan homestead:create```.
This is designed to only be run once. If you run the command again you will overwrite files and any changes will be lost.
You are free to remove this package from Composer once you have your Homestead files in your project root.If you would like to specify the name of the virtual machine: (Optional)
_This must be a unique or you will get a vagrant warning._
```
php artisan homestead:create --name=YourName
```If you would like to specify the host name of the virtual machine:
```
php artisan homestead:create --hostname=YourHostName
```For further Homestead configuration see [Official Documentation](http://laravel.com/docs/5.1/homestead)
## Usage (Non-Laravel)
You don't *have* to use Laravel to take advantage of this package. You just need to manually copy the files from ```vendor/svpernova/homesteadskeleton/files``` to your project root.
Ensure you change ```vb.name``` in ```scripts/homestead.rb``` to something unique.
## Caution
If you plan on using this in multiple projects or alongside Homestead's normal usage, ensure you change ```vb.name``` in ```src/scripts/homestead.rb``` to something unique.
If you ran ```php artisan homestead:create``` the ```vb.name``` will be something from the Inspire command.