Hello everyone,
I am trying to figure out how I am going to deploy an application. I think I will be using DigitalOcean instead of FortRabbit due to cost.
I am leaning towards using Rocketeer since I have heard a lot of good things about it but I am having trouble setting it up and figuring out what the installation and variables should look like. Rocketeer's guide is not helping me much and I get a lot of weird errors (that I can't recall off-hand).
Would I be better off using Git to deploy?
Either way, would someone kindly point me in the right direction here?
Thank you!
It's hard to help you without knowing what errors you get. Try setting it up and then post back what errors you get.
Sorry about the delay. I've posted it here.
Maybe I should say that I am getting warnings... When Rocketeer asks for a production connection is it looking for the ssh tunnel into the live server?
Haven't used the php archive, but the error says that you haven't set a production connection, which you need to set up in app/config/remote.php. Also, it might be easier if you just use Rocketeer via composer and the L4 integration. You can find the full documentation here. You can also have a look through any of the resolved issues on Github, especially the stuff to do with permissions. Helped me while setting Rocketeer up.
I noticed that you're also using Vagrant, which requires a couple additions to your Vagrantfile to make deployments work if you're using SSH keys instead of passwords.
config.ssh.forward_agent = true
config.vm.provision :shell, :inline => "echo -e '#{File.read("#{Dir.home}/.ssh/id_rsa")}' > '/home/vagrant/.ssh/id_rsa'"
config.vm.provision :shell, :inline => "echo -e '#{File.read("#{Dir.home}/.ssh/id_rsa.pub")}' > '/home/vagrant/.ssh/id_rsa.pub'"
During provisioning the above lines copy your ssh key across, so Rocketeer can then ssh into your remote servers. You might have to adjust the path to the .ssh directory if you're not on Windows.
Thanks for your help. I'm going to step away from this for a while but when I come back to this I will follow your advice.
Thank you again.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community