Question

Setting Up Digital Ocean Environment:

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!

Subscribe
Share

Submit an 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.