2

I'm been working on a vagrant larval server, which I get the VagrantFile from here. I'm just curious as to how I would push this server to a digital ocean droplet with all the server settings kept the same (same php mods installed, same database credentials, etc).

Is it even possible to do this? Or would I have to manually install everything on a digital ocean droplet?

dotty
  • 40,405
  • 66
  • 150
  • 195

1 Answers1

0

You should use provisioning to setup server settings including packages installing, passwords setting, etc (this is the Vagrant-way). After this, you may use vagrant-digitalocean project to set Digital Ocean as Vagrant provider. Simply update Vagrantfile with settings required by "vagrant-digitalocean". This probably should do the trick.

neoascetic
  • 2,476
  • 25
  • 34
  • 2
    Just like [this question](https://stackoverflow.com/questions/32305240/setting-up-a-vagrant-with-a-digitalocean-image), I still have no idea how exactly to test a local environment and then deploy it to a droplet in a repeatable way. Anyone? Please? – XedinUnknown Sep 16 '15 at 14:25