Skip to content

valentindragan/homestead-adev

 
 

Repository files navigation

Laravel homestead - apache development

The customisations are as folows:
  • Apache multi site
  • SSL True for https developing
  • Changed guest root to /var/www/html
  • Root is mapped in host share folder, inside homestead-adev folder - Can be changed to any absolue path: D:/www
  • PhpMyAdmin - latest version

Make sure you have the vagrant nfs plugin installed if using nfs on windows for shared folders.

vagrant plugin install vagrant-winnfsd

Edit your C:\Windows\System32\drivers\etc hosts file with entries for each of you websites Example:

192.168.33.49 homestead.test
192.168.33.49 phpmyadmin.test
192.168.33.49 mysite.test

If home folder does not contain a .ssh folder, run the folowing command in cmd, and keep default options (no passphrase, id_rsa, id_rsa.pub)

ssh-keygen

Build Status Total Downloads Latest Stable Version License

Introduction

Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, a web server, and any other server software on your local machine. No more worrying about messing up your operating system! Vagrant boxes are completely disposable. If something goes wrong, you can destroy and re-create the box in minutes!

Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web server, PHP 7.3, MySQL, Postgres, Redis, Memcached, Node, and all of the other goodies you need to develop amazing Laravel applications.

Official documentation is located here.

Developing Homestead

To keep any in-development changes separate from other Homestead installations, create a new project and install Homestead from composer, forcing it to use a git checkout.

$ mkdir homestead && \
    cd homestead && \
    composer require --prefer-source laravel/homestead:dev-master

After it's complete, vendor/laravel/homestead will be a git checkout and can be used normally.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 58.5%
  • PHP 27.4%
  • Ruby 14.1%