Answers.Body: <p>There is a course on CraftQuest regarding deployment of Craft CMS you might want to check out: <a href="https://craftquest.io/courses/deploying-craft-cms-3" rel="nofollow noreferrer">https://craftquest.io/courses/deploying-craft-cms-3</a></p>
  
  <p>For my personal workflow, I develop locally then push my codebase to Github. Since my servers are built using Laravel Forge, I have it set up to deploy my code to my server, which can be an AWS server, Digital Ocean, or any number of places. </p>
  
  <p>For some sites, I use a more robust deployment service. I've used both Envoyer.io and Deploybot to do that. I wrote a post on the Deploybot set up I used. You can find that post here: <a href="https://supergeekery.com/blog/laravel-forge-and-deploy-bot" rel="nofollow noreferrer">https://supergeekery.com/blog/laravel-forge-and-deploy-bot</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-10T14:45:14.170Z
Answers.LastActivityDate: 2019-01-10T14:45:14.170Z
Answers.UserDisplayName: John Morton
Answers.Body: <p>I think this deploy-bot / buddy stuff is a bit overkill.
  I love to use Laravel Forge and for this u have to pay, when u want to build your business on it (for many clients).</p>
  <p>Like I do with my <a href="https://v2.statamic.com/knowledge-base/forge" rel="nofollow noreferrer">statamic sites</a> I think u can just do it the same way with your Craft 3 Github repo.</p>
  <p>Deploy-bot / buddy / envoyer is good for continuous deployment where u want to have zero downtime. But this is just for crucial apps with a huge amount of users. Keep in mind that is will cost you additional money.</p>
  <p>For the most websites its completely ok when its down for a few minutes when u deploy new stuff every few weeks.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-23T07:48:23.197Z
Answers.Text: we also use laravel forge with quick deployment. pushing to the master branch -> done, deployed. ans for having everything in sync: craft scripts.
Answers.UserDisplayName: Marten Brosch
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-23T11:17:43.953Z
Answers.Text: I use 'git checkout . ' in my deploy script - to avoid merge conflicts. How do you solve that?
Answers.UserDisplayName: Slowwie
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-20T14:10:28.577Z
Answers.LastActivityDate: 2020-09-20T14:10:28.577Z
Answers.UserDisplayName: Slowwie
Answers.Body: <p>I use <a href="https://deployer.org/" rel="nofollow noreferrer">https://deployer.org/</a> which is a php package you can run from the command line.</p>
  <p>It's great if you're looking for a free, zero-downtime solution to deploy your sites. The downside however is that it's a bit harder to set up compared to paying tools. You need to be comfortable using the command line and have some basic understanding of git / ssh / ...</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-23T14:48:04.873Z
Answers.Text: Hey - nice - thats free, or do I miss something ;). Looks simply and good. Maybe I try it out sometimes. Thank you.
Answers.UserDisplayName: Slowwie
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-23T07:32:06.673Z
Answers.LastActivityDate: 2020-09-23T07:32:06.673Z
Answers.UserDisplayName: Steven Vandemoortele
Body: <p>I want to upload all my Craft files along with the database to an Ubuntu server using composer. This server is an EC2 instance of AWS.</p>
  
  <p>Thanks for the help!</p>
  
Tags: <craft3><aws>
Title: How to deploy website from dev to staging from localhost to remote server using composer
ThreadText: # How to deploy website from dev to staging from localhost to remote server using composer
  
  (Asked by: username_0 on 2019-01-09)
  
  I want to upload all my Craft files along with the database to an Ubuntu server using composer. This server is an EC2 instance of AWS.
  
  Thanks for the help!
  
  **Tags:** craft3, aws
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2019-01-10. Score: 2 | Accepted answer
  
  There is a course on CraftQuest regarding deployment of Craft CMS you might want to check out: <https://craftquest.io/courses/deploying-craft-cms-3>
  
  For my personal workflow, I develop locally then push my codebase to Github. Since my servers are built using Laravel Forge, I have it set up to deploy my code to my server, which can be an AWS server, Digital Ocean, or any number of places.
  
  For some sites, I use a more robust deployment service. I've used both Envoyer.io and Deploybot to do that. I wrote a post on the Deploybot set up I used. You can find that post here: <https://supergeekery.com/blog/laravel-forge-and-deploy-bot>
  
  
  ---
  
  ### Answer by username_2 on 2020-09-20. Score: 1
  
  I think this deploy-bot / buddy stuff is a bit overkill.
  I love to use Laravel Forge and for this u have to pay, when u want to build your business on it (for many clients).
  
  Like I do with my [statamic sites](https://v2.statamic.com/knowledge-base/forge) I think u can just do it the same way with your Craft 3 Github repo.
  
  Deploy-bot / buddy / envoyer is good for continuous deployment where u want to have zero downtime. But this is just for crucial apps with a huge amount of users. Keep in mind that is will cost you additional money.
  
  For the most websites its completely ok when its down for a few minutes when u deploy new stuff every few weeks.
  
  > **Comments:**
  > **username_3**: we also use laravel forge with quick deployment. pushing to the master branch -> done, deployed. ans for having everything in sync: craft scripts.  
  > **username_2**: I use 'git checkout . ' in my deploy script - to avoid merge conflicts. How do you solve that?  
  
  ---
  
  ### Answer by username_4 on 2020-09-23. Score: 1
  
  I use <https://deployer.org/> which is a php package you can run from the command line.
  
  It's great if you're looking for a free, zero-downtime solution to deploy your sites. The downside however is that it's a bit harder to set up compared to paying tools. You need to be comfortable using the command line and have some basic understanding of git / ssh / ...
  
  > **Comments:**
  > **username_2**: Hey - nice - thats free, or do I miss something ;). Looks simply and good. Maybe I try it out sometimes. Thank you.  
  
  ---
  
  