Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 2.46 KB

readme.md

File metadata and controls

66 lines (49 loc) · 2.46 KB

Provides Parallels Desktop support for Laravel Homestead development environment.

I used official versions of Homestead for my boxes for convenience.

Installation

This is the way i install Homestead on my mac:

Install PHP

I prefer to install php using Homebrew. Follow instructions to install brew and execute brew install homebrew/php/php70.

Also you may need to add php7 to executable path: add export PATH=/usr/local/Cellar/php70/PHP-VERSION/bin:$PATH to your ~/.bash_profile).

After this step php --version should display that php 7.0 is installed.

Install composer

Follow instructions to download composer.phar to current directory and move it to appropriate folder: mv composer.phar /usr/local/bin/composer.

After this step you should have composer command available.

Homestead global command-line

To create Homestead environment for your projects you will need command-line. To install it execute composer global require laravel/homestead.

Also you may need to add ~/.composer/vendor/bin to your PATH: export PATH=~/.composer/vendor/bin:$PATH

After this step you should have homestead command available.

Homestead instance

To use Homestead environment, you should make it. cd to your project directory and execute homestead make (use homestead help make to list them).

Then you need to update following values in Homestead.yaml:

box: alvassin/homestead-parallels
provider: parallels

Finally, you are ready to use homestead. Run VM using vagrant up --provider parallels from your application directory. Enjoy.

Pre-built boxes

You can find pre-built boxes at Hashicorp website . To use pre-built box, run:

vagrant init alvassin/homestead-parallels;

Build box from source

If you want to build Homestead Vagrant box yourself, perform following commands:

git clone [email protected]:alvassin/homestead-parallels-settler.git
cd homestead-parallels-settler
bash build.sh