I hereby claim:
- I am theal on github.
- I am alfonz (https://keybase.io/alfonz) on keybase.
- I have a public key ASAxLzIaHdtlsda_-PmPdbVALQ1Ji6ZdBsyA8SKdiHs3Zwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
These notes record my attempts to understand how and when to populate a Trailblazer contract. They may be incomplete, inaccurate or just plain wrong. They may also be right; I hope they are! Comments are welcome.
It all began with the requirement to seed a presenting contract from the inbound request. Having looked for answers in the Trailblazer book and on Gitter (there was a similar conversation on the 25th September), taking
Most examples I found tell you to run rvmsudo or passenger-install-nginx-module. I ran into problems with these because:
rvmsudo leaves root owned directories and files under rvm passenger gem directory. This will give you seemingly odd errors later when you try to remove/upgrade passenger gem, or try to use homebrew to install passenger.
There's no good place to put nginx using passenger-install-nginx-module. Putting it under /usr/local means you have to remember it's there amongst homebrew files. Anywhere else, you still have to remember you put it there. We'd rather manage nginx install via homebrew.
So to install everything with homebrew, this is what it took:
gem install passenger
#Magento on osx Mavricks with nginx, php-fmp
##Step 1
###Make sure that brew is up to date and installed.
If you do not have home brew installed, go to the link below and install it.
#!/bin/bash | |
APP=$1 | |
for worker in `cctrlapp $APP worker | grep -ve '^Workers' | grep -ve '^ nr\.' | tr -s " " | cut -f3 -d " "`; | |
do | |
cctrlapp $APP worker $worker | |
done; |