Skip to content

Homestead Development Box for Laravel, Django, WordPress.

Notifications You must be signed in to change notification settings

maqduni/homestead-dev-box

Repository files navigation

Complete Homestead documentation https://laravel.com/docs/5.8/homestead.

Installation

  1. Install Homestead in the project directory
    > composer install
    
  2. Fix folder mapping in Homestead.yaml to point to your project folder
    folders:
        -
            map:
    
  3. Install and start the box
    > vagrant up
    

Required tools

  1. Composer (https://gist.github.com/tomysmile/3b37ab4a1ddd604093fe724d0a882166)
	> brew update
	> brew install php
	> brew install composer
  1. VirtualBox (https://www.virtualbox.org/wiki/Downloads)

  2. Vagrant (https://www.vagrantup.com/downloads.html)

    // Reload vagrant box with updated Homestead.yaml configuration
    > vagrant reload --provision
    

NOTE: Homestead.yaml contains mappings to all sites. It's done so that one VM can be shared among several projects.

Python virtual environments

Virtualenvwrapper is pre-installed. Excerpt from /usr/local/bin/virtualenvwrapper.sh:

#  5. Run: workon
#  6. A list of environments, empty, is printed.
#  7. Run: mkvirtualenv temp
#  8. Run: workon
#  9. This time, the "temp" environment is included.
# 10. Run: workon temp
# 11. The virtual environment is activated.

Known issues

Getting Vagrant 2.2.6 working with VirtualBox 6.1 GA - link

About

Homestead Development Box for Laravel, Django, WordPress.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published