Skip to content

Instantly share code, notes, and snippets.

@loren138
Created October 22, 2015 16:31
Show Gist options
  • Save loren138/f7d8164cc1c9f513cafc to your computer and use it in GitHub Desktop.
Save loren138/f7d8164cc1c9f513cafc to your computer and use it in GitHub Desktop.
MS SQL with Laravel Homestead

MySBTS (Info Version 2)

To make composer install run after a pull to make sure your versions of things are update date, add this git hook https://gist.github.com/loren138/7038d20d32c206c82393

Upon downloading the API, you will need to run composer install to install the vendor files. This also means that if you update or add a composer dependency eg (composer require or composer update) that you will need to let others know to rerun composer install on their personal machines.

Note: The deploy scripts take care of running composer during the deploy process. (See the rocketeer files here: https://gist.github.com/loren138/27d9f53a4dfb3df206dd)

This should be deployed by homestead.

If you get sql error 4004

http://stackoverflow.com/questions/5414890/mssql-query-issue-in-php-and-querying-text-data

Bump freetds from 4.2 to 7.2 in /etc/freetds.conf http://stackoverflow.com/revisions/32076190/5

#If you get a bad SSL error in Chrome You need to add the certificate as trusted: http://www.robpeck.com/2010/10/google-chrome-mac-os-x-and-self-signed-ssl-certificates/#.VeXpj9NVhBc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment