Hi, I am working for a client and I need a developer and a production server. So far all Laravel development has been done on a development server, and I have been pushing code changes to github in anticipation of a migration to a production environment.
My problem is that this task is proving to be exceedingly difficult. I booted up a new server, DigitalOcean LAMP which was no problem, until I tried to get my Laravel application code from github on my fresh Laravel installation on this new server.
I did git clone https://github.com/me/myLaravelApp.git and then did a composer update in the directory created on my unix server for the git clone.
I have all the files, my app files from github and my /vendor files from composer, but it breaks php artisan and gives me a bunch of weird errors, in short, I'm doing something wrong.
So what is the correct workflow to get a Laravel application using the standard .gitignore from Github to a new server environment?