Report this

What is the reason for this report?

Setting Up Digital Ocean Environment:

Posted on May 17, 2015

Hi Peeps!,

I’m currently building an application running off the Laravel 5 Framework.

My development environment is as follows:

  1. I develop locally - ( duh… )
  2. I push my code to my private GitHub Repo
  3. I’m utilizing Forge to listen for these changes and then Deploy to Digital Ocean Server

My Question(s) is/are:

  1. When making these deployments how can I configure individual databases within Digital Ocean?

  2. Can I host multiple sites on the same server?

  3. Any proposed data structures for organizing multiple projects on Digital Ocean.

NOTE: I must admit I have a bit of OCD when it comes to structure ;) Any suggestions and guidance would be very much appreciated!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

When making these deployments how can I configure individual databases within Digital Ocean?

You can create new databases using the ‘mysql’ command line interface with CREATE DATABASE dbname; or by using a GUI like phpmyadmin.

Can I host multiple sites on the same server?

Absolutely.

Any proposed data structures for organizing multiple projects on Digital Ocean.

You will want to create a new virtualhost for each project/site with a separate MySQL database for each as well.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.