php7.1 - ml-archive/homestead GitHub Wiki

IMPORTANT!! .. This guide only works if you already have homestead, if you don't contact the operations team

The nhomestead is a fork of the laravel homestead, that is changed a bit to fit our environment.

If you already have the ndev-php7 machine, you will still have the same codebase, but all databases are gone, so remember to make a backup :-) To attach database and apache to your existing code base run "Fix project" from the nodes command

First ensure that you have the following software installed

Vagrant 1.8.x+ and Virtualbox 4.3+

NOTE: Don't use Vagrant 1.8.7, it is currently bugged with laravel homestead

Install

Clone our fork of homestead

git clone [email protected]:nodes-cloud/homestead.git ~/nhomestead-71

cd ~/nhomestead-71

git checkout php7.1

Start the vagrant machine, if you don't have homestead, it will be downloaded

vagrant up

Then login to your machine

vagrant ssh

Because homestead is setup in a way thats a lot different from our setup, we have a small script to switch our nginx for apache, and a lot of other stuff

wget http://nodesmanager.io/bin/nodes-homestead71
chmod +x nodes-homestead71
./nodes-homestead71

Then run the nodes command as usual

nodes

Lastly you need to run "Fix project" for the projects you want to use, to setup apache conf file, and fetch db from like.st for each project

nodes -> select "Fix project" -> Input project name for projects your want to use on nhomestead 7.1