Day 003 – Yet Another

I wan’t able to get my morning programming fix in.  But I was up.   I had an overload of work from last night to wrap up.  I’m gonna do some work this morning and you’ll see me back her later.  Promise!

I’m Back, I decided to start off setting up my second workstation (mac also) to develop.  I had to install composer, and for it to work 100% I suggest setting up the globally options in the link below:

https://getcomposer.org/doc/00-intro.md

Or these three commands:

curl -sS https://getcomposer.org/installer | php
sudo mkdir -p /usr/local/bin
sudo mv composer.phar /usr/local/bin/composer

Ran into a few smaller issues getting everything situated, mostly related to not have Git installed in my new computer.  Got a demo running in no time.

Day 002 – Homestead

First off, the idea on my mind is to advise getting homestead and vagrant up and running and then start creating your first Laravel app.  I know you need to reference your working folder, but that is something you can make as you go.  I had to update composer with the vagrant with the homestead ssh command.

So far, PHP version was right on.  I did run into other issues sadly.  There was a issue with the a file loading, and  determined that composer install had to be run again in the vagrant server with the app folder.

composer install

This re downloaded the dependences that didn’t download the first time.  Also, the was a encryption issue and I ran in the app folder

php artisan key:generate

Not to bad so far.   But I was running into another issue with the host file not directing traffic to the learning-laravel-5.dev to the vagrant host.  It found it was a stupid mistake.  I was editing a /etc/host file which should have been /etc/hosts file.  I must have created that file.

 

Part 2

I was able to review lesson 3 from laracast fundamentals. It was a bit different the the current version, but easy for me to line up the changes.

https://laracasts.com/series/laravel-5-fundamentals/episodes/3

Day 001 – Laravel

Day one of my morning programming jam.  I decided to start with a couple weeks of Laravel.  I have been wanted to get started with this for some time now.

https://laracasts.com/series/laravel-5-fundamentals/episodes/1

I ran into an issue with PHP not being the right version.  I didn’t know how to update the Mac without upgrading the whole system.  It will be something to look into with one Mac on Mountain Lion and one on Yosemite.

Tomorrow, I’m gonna work on homestead and vagrant to try to solve this issue.