pmcgeough
By:
pmcgeough

How do I build on my droplet?

November 4, 2015 1k views
DigitalOcean PHP

After creating my first droplet I managed to scrape though building my server with the following videos https://www.youtube.com/playlist?list=PLfdtiltiRHWGm8EAUXl2oBk5zjuvOTxsy

I want to do this with one file like the way I use Homestead locally. A simple up file on the server and all is installed. Are there any straightforward tutorials (for a newbie) on how to do this?

Thanks

2 comments
  • It sounds like what you might be looking for are user-scripts. We have a number of them available on GitHub: https://github.com/digitalocean/do_user_scripts
    These are scripts that you can paste into the "user-data" section when building a droplet, and are either written in bash or as a yaml file. Alternatively, you can write a script in Fabric to setup and install your server components.

    What type of programs are you attempting to setup?

  • Thanks this seem like it may be what I am looking for. Cloud server building is a big thing and tutorials just don't seem to be as straight forward.

    Just a simple website at first. Php (for laravel) and send email from contact from. No need for MySQL. I will have another site in a few months after that and it will need MySQL. So I may create a 2nd droplet for that. It will be relatively small too so it might be ok to put the two on the one droplet.

1 Answer

This question was answered by @BrookDO:

It sounds like what you might be looking for are user-scripts. We have a number of them available on GitHub: https://github.com/digitalocean/do_user_scripts
These are scripts that you can paste into the "user-data" section when building a droplet, and are either written in bash or as a yaml file. Alternatively, you can write a script in Fabric to setup and install your server components.

What type of programs are you attempting to setup?

View the original comment

Have another answer? Share your knowledge.