<p><a href="https://www.youtube.com/watch?v=M6BhLZFslRw" rel="nofollow noreferrer">https://www.youtube.com/watch?v=M6BhLZFslRw</a> install CraftCMS directly on DigitalOcean Droplet.</p>

CC BY-SA 4.0
2020-03-27T16:18:51.140Z
2020-03-27T16:18:51.140Z
Alex Brown
<p>I would suggest to read through the following articles:</p>

<p><a href="https://nystudio107.com/blog/multi-environment-config-for-craft-cms" rel="noreferrer">https://nystudio107.com/blog/multi-environment-config-for-craft-cms</a></p>

<p><a href="https://nystudio107.com/blog/database-asset-syncing-between-environments-in-craft-cms" rel="noreferrer">https://nystudio107.com/blog/database-asset-syncing-between-environments-in-craft-cms</a></p>

<p>About reinstalling craft on your droplet and uploading the local database:</p>

<p>the craft install i used in my local dev environment will be pushed onto the droplet, like this i can assure that it doesn't differ in any of the enviornments. About syncing the database read through the articles it will clear things up. In general all of the articles in nystudios blog are more than helpful. i hope it helped at least a bit. </p>

CC BY-SA 3.0
2017-04-15T13:19:36.887Z
2017-04-15T13:19:36.887Z
HendrikEng
<p>Currently I'm having an issue deploying to Digital Ocean and would love some advice, i've followed numerous tutorials but they seem to just drop off half way through the process so just need some clarity on this. I've broke down what I've done below:</p>

<ul>
<li>Developed my CraftCMS site in localhost using MAMP.</li>
<li>Committed everything to Github apart from <strong>db.php</strong></li>
<li>Created a droplet with LAMP</li>
<li><p>Setup my database names so it corresponds with my localhost</p></li>
<li><p>Setup my database user   </p></li>
<li>Created a deploybot setup which contains my     db.php file</li>
<li>Deployed the application using deploy bot which deploys my latest<br>
push in the git repo.</li>
</ul>

<p>Am I supposed to be reinstalling CraftCMS on the droplet and upload my localhost database after these steps? </p>

<entries><database><deployment>
Deploying CraftCMS to Digital Ocean
# Deploying CraftCMS to Digital Ocean

(Asked by: username_0 on 2017-04-15)

Currently I'm having an issue deploying to Digital Ocean and would love some advice, i've followed numerous tutorials but they seem to just drop off half way through the process so just need some clarity on this. I've broke down what I've done below:

* Developed my CraftCMS site in localhost using MAMP.
* Committed everything to Github apart from **db.php**
* Created a droplet with LAMP
* Setup my database names so it corresponds with my localhost
* Setup my database user
* Created a deploybot setup which contains my db.php file
* Deployed the application using deploy bot which deploys my latest  
  push in the git repo.

Am I supposed to be reinstalling CraftCMS on the droplet and upload my localhost database after these steps?

**Tags:** entries, database, deployment


---

## 2 answers

### Answer by username_2 on 2017-04-15. Score: 6 | Accepted answer

I would suggest to read through the following articles:

<https://nystudio107.com/blog/multi-environment-config-for-craft-cms>

<https://nystudio107.com/blog/database-asset-syncing-between-environments-in-craft-cms>

About reinstalling craft on your droplet and uploading the local database:

the craft install i used in my local dev environment will be pushed onto the droplet, like this i can assure that it doesn't differ in any of the enviornments. About syncing the database read through the articles it will clear things up. In general all of the articles in nystudios blog are more than helpful. i hope it helped at least a bit.


---

### Answer by username_1 on 2020-03-27. Score: -1

<https://www.youtube.com/watch?v=M6BhLZFslRw> install CraftCMS directly on DigitalOcean Droplet.


---

