Yet another

laravel journey

11/11/14 vagrant

Vagrant commands

Since installing vagrant I’ve took some time to experiment with these commands, here are the most important ones I’ve come across.

vagrant up
This will start the vagrant server as well as resume the environment in which you want to start working.

Continue reading

0 likes no responses
11/11/14 homestead , vagrant , virtual machine

Setting up a virtual machine for laravel

What we would need for this to work:

Both VirtualBox and Vagrant are software packages which will provide us with some easy-to-use installers which can install all popular operating systems. Once installed you can add a laravel/homestead box to you Vagrant install which might take up to 10 minutes to get ready.

vagrant box add laravel/homestead

Continue reading

0 likes no responses
11/11/14 error , installation , laravel 5

Mcrypt PHP extension required

During my Laravel install I had some issues using the terminal, they all turned out to be linked to one issue:

Mcrypt PHP extension required

To solve this we need to open the bashrc file again which we also used during our install. Add the following line at the bottom of the script, this will ensure the use of AMPPS php, you can also use the MAMP path if wanted. Save the file (ctrl+x) and make sure the file is loaded again.

nano ~/.bashrc
export PATH="/Applications/AMPPS/php/bin:$PATH"
source ~/.bashrc

Continue reading

0 likes no responses
10/11/14 installation , laravel 5

Installing laravel

I’ve read quite a few articles about bringing me up to speed. The following commands will allow you to install laravel globally on your machine.

composer global require "laravel/installer=~1.1"

Continue reading

0 likes no responses