Git – Bolt

 

.gitignore for bolt I have:

!.htaccess
app/cache/**

But you still need the cache directory so I then add a file in the cache folder as a place holder…  I added the file and then ran this: git add app/cache/cacheholder.txt

 

Day 007 – Git more – PyroCMS

Getting Git all setup was not that hard.  There are a ton of how-tos especially from Git.

To setup a new git I use command and the Github App.  I like the visual concept, but both are really confusing still yet compared to what I’m use to from SVN.

I created a new git by going into the new Laravel install folder and typed: “git init” . From the app, I was then able to publish.  The app created the new repository.  Then I started with my first minor update.  I created a branch and change the first view.  I’m wiring this a few minutes after and I still can’t tell you how I did it.  I then uploaded the changes to the master at Git.  I then created a second branch that I will plan on making additional changes today.  I will try to update the master nightly as practice.

 

I installed Git, but ran into an idea or concept of running Laravel front-end and WordPress backend for users to add/edit content.  I searched and found that people were trying this.  But then I ran into a new CMS built on Laravel: PyroCMS.  I then spent nearly 2 hours trying to get the version 3 beta up an running.  I’m still stuck trying got install it homestead but cant get around the it not connecting to a database (sqlite) in homestead.  Arrrg.  I was trying to get SQLite, but then switched to MySQL… and surprisingly was easy just login to the database from “homestead ssh”.  I had to create a new database for PyroCMS.

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.