Answers.Body: <p>You will need your existing Craft CMS project on your local computer, ideally through a Git repository, but you can also <em>copy</em> the files down from the server into a directory on your computer. You will also need a database export from the production site. You can access that via Utilities &gt; Database Backup in the Craft control panel (typically, /admin).</p>
  <p>Once you have the project files local and are in the project directory, you will initialize a new DDEV project:</p>
  <pre class="lang-bash prettyprint-override"><code>ddev config --project-type=craftcms
  </code></pre>
  <p>Then start the project:</p>
  <pre class="lang-bash prettyprint-override"><code>ddev start
  </code></pre>
  <p>At this point, you will likely need to install all dependencies via <code>ddev composer install</code> and then import the database.</p>
  <p>I have everything written up here: <a href="https://craftquest.io/courses/ddev-and-craft-cms-quick-start-guide/43444" rel="nofollow noreferrer">https://craftquest.io/courses/ddev-and-craft-cms-quick-start-guide/43444</a> including a video walking through it.</p>
  <p>Also, if you're new to Craft, it might be helpful to follow along with this free video series: <a href="https://craftquest.io/courses/craft-cms-quick-start-guide" rel="nofollow noreferrer">https://craftquest.io/courses/craft-cms-quick-start-guide</a></p>
  <p>The video series won't help you with your exact site, as every Craft site is configured differently, but it will help you understand the basic building blocks of Craft CMS sites.</p>
  <p>Hope that helps!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-31T22:30:17.310Z
Answers.LastActivityDate: 2023-05-31T22:30:17.310Z
Answers.UserDisplayName: CraftQuest
Body: <p>The business I work for has just acquired another business whose CMS is CraftCMS. So am totally new to CraftCMS and how it operates. At the moment am finding it a steep / challenging learning curve.</p>
  <p>So I'm using a Mac and everything seems to at the moment involve using Terminal. I've understood that I need to install stuff like:</p>
  <ul>
  <li>Brew</li>
  <li>Composer via Brew</li>
  <li>Docker via Brew</li>
  <li>DDEV via Brew</li>
  </ul>
  <p>...which I've done.</p>
  <p>That's as far as I've got as I need to connect to the existing CraftCMS which is live and I can't understand how I do it. Cannot find anything of use by Googling.</p>
  <p>Current version of CraftCMS is version 3.7.67 but cannot update stuff from within admin portal as update buttons have disappeared and from what I can understand I need to use the above methodology to conenct in the first instance so update issues can be fixed.</p>
  <p>Please can someone supply me with some simple instructions as to what I need to do?</p>
  
Tags: <craft3><ddev>
Title: New to CraftCMS and linking to an existing project using DDEV
ThreadText: # New to CraftCMS and linking to an existing project using DDEV
  
  (Asked by: username_0 on 2023-05-31)
  
  The business I work for has just acquired another business whose CMS is CraftCMS. So am totally new to CraftCMS and how it operates. At the moment am finding it a steep / challenging learning curve.
  
  So I'm using a Mac and everything seems to at the moment involve using Terminal. I've understood that I need to install stuff like:
  
  * Brew
  * Composer via Brew
  * Docker via Brew
  * DDEV via Brew
  
  ...which I've done.
  
  That's as far as I've got as I need to connect to the existing CraftCMS which is live and I can't understand how I do it. Cannot find anything of use by Googling.
  
  Current version of CraftCMS is version 3.7.67 but cannot update stuff from within admin portal as update buttons have disappeared and from what I can understand I need to use the above methodology to conenct in the first instance so update issues can be fixed.
  
  Please can someone supply me with some simple instructions as to what I need to do?
  
  **Tags:** craft3, ddev
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-05-31. Score: 4
  
  You will need your existing Craft CMS project on your local computer, ideally through a Git repository, but you can also *copy* the files down from the server into a directory on your computer. You will also need a database export from the production site. You can access that via Utilities > Database Backup in the Craft control panel (typically, /admin).
  
  Once you have the project files local and are in the project directory, you will initialize a new DDEV project:
  
  ```bash
  ddev config --project-type=craftcms
  
  ```
  
  Then start the project:
  
  ```bash
  ddev start
  
  ```
  
  At this point, you will likely need to install all dependencies via `ddev composer install` and then import the database.
  
  I have everything written up here: <https://username_1.io/courses/ddev-and-craft-cms-quick-start-guide/43444> including a video walking through it.
  
  Also, if you're new to Craft, it might be helpful to follow along with this free video series: <https://username_1.io/courses/craft-cms-quick-start-guide>
  
  The video series won't help you with your exact site, as every Craft site is configured differently, but it will help you understand the basic building blocks of Craft CMS sites.
  
  Hope that helps!
  
  
  ---
  
  