Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Dan Murfitt
3,164 PointsLaravel Homestead project deployment to production server
Hi Treehouse folk :)
I've just finished the Laravel Basics course and I'm starting to work on a new project - really enjoying working with Laravel too.
I just wondered what a good (or recommended) workflow is for deploying a Laravel/Homestead project to production server? Can the Vagrant configuration be used? How do you keep your application code, and Laravel, up to date?
I've typically used CodeIgniter as a framework and have taken care of most of this manually (setting up the server, SFTP upload, etc.), but Laravel seems much more streamlined, so I wondered what's the best way to do this with a Homestead project?
Any advice or tips welcome :)
Many thanks, Dan
3 Answers
Jeffrey van Rossum
2,994 PointsI'm interested in this as well.
For now, I'm developing everything locally and than upload changes to the production-server.
Chris Jones
9,419 PointsMe three!
I'd also be keen on seeing how to integrate with continuous integration as well like jenkins for automatic builds.
Brian van Vlymen
12,637 PointsOne of Laravel's goals is to make PHP application development enjoyable from download to deploy, and Laravel Forge provides a simple way to deploy your Laravel applications onto blazing fast servers. Forge can configure and provision servers on DigitalOcean, Linode, Rackspace, and Amazon EC2. Like Homestead, all of the latest goodies are included: Nginx, PHP 5.6, MySQL, Postgres, Redis, Memcached, and more. Forge "Quick Deploy" can even deploy your code for you each time you push changes out to GitHub or Bitbucket!
On top of that, Forge can help you configure queue workers, SSL, Cron jobs, sub-domains, and more. For more information, visit the Forge website.