<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Shopware on myl3z.me</title><link>https://myl3z.me/docs/shopware/</link><description>Recent content in Shopware on myl3z.me</description><generator>Hugo</generator><language>en</language><atom:link href="https://myl3z.me/docs/shopware/index.xml" rel="self" type="application/rss+xml"/><item><title>What ddev Is</title><link>https://myl3z.me/docs/shopware/ddev-basics/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://myl3z.me/docs/shopware/ddev-basics/</guid><description>&lt;h1 id="what-ddev-is"&gt;What ddev Is&lt;a class="anchor" href="#what-ddev-is"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;ddev is an open-source tool that creates and manages local development environments in Docker
containers. Instead of installing and maintaining PHP, MySQL, Node and nginx on your own
machine, you describe in a single file what a project needs — and ddev turns that into a
running environment.&lt;/p&gt;
&lt;p&gt;In practice: &lt;code&gt;ddev start&lt;/code&gt; inside a project directory, and a few seconds later the shop is
served over HTTPS.&lt;/p&gt;</description></item><item><title>Installing ddev</title><link>https://myl3z.me/docs/shopware/ddev-install/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://myl3z.me/docs/shopware/ddev-install/</guid><description>&lt;h1 id="installing-ddev"&gt;Installing ddev&lt;a class="anchor" href="#installing-ddev"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Once per machine. After that, every further project is a matter of minutes.&lt;/p&gt;
&lt;p&gt;Exactly two things are needed: &lt;strong&gt;Docker&lt;/strong&gt; and &lt;strong&gt;ddev&lt;/strong&gt;. Everything else — PHP, Composer, Node,
MySQL — ddev ships in containers.&lt;/p&gt;
&lt;h2 id="step-1-docker"&gt;Step 1: Docker&lt;a class="anchor" href="#step-1-docker"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;ddev needs a Docker provider. Which one barely matters, as long as it runs.&lt;/p&gt;
&lt;div class="book-tabs"&gt;
&lt;input type="radio" class="toggle" name="tabs-0" id="tabs-0-0" checked="checked" /&gt;&lt;label for="tabs-0-0"&gt;Linux&lt;/label&gt;&lt;div class="book-tabs-content markdown-inner"&gt;
&lt;p&gt;Docker CE straight from the distribution, the quickest option:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e2e4e5;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#78787e"&gt;# Arch&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo pacman -S docker docker-buildx
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo systemctl &lt;span style="color:#ff5c57"&gt;enable&lt;/span&gt; --now docker
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo usermod -aG docker &lt;span style="color:#5af78e"&gt;&amp;#34;&lt;/span&gt;&lt;span style="color:#ff5c57"&gt;$USER&lt;/span&gt;&lt;span style="color:#5af78e"&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#78787e"&gt;# Debian / Ubuntu&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;curl -fsSL https://get.docker.com | sudo sh
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo usermod -aG docker &lt;span style="color:#5af78e"&gt;&amp;#34;&lt;/span&gt;&lt;span style="color:#ff5c57"&gt;$USER&lt;/span&gt;&lt;span style="color:#5af78e"&gt;&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After &lt;code&gt;usermod&lt;/code&gt;, log out and back in once, otherwise the permissions on the Docker socket are
missing.&lt;/p&gt;</description></item><item><title>Setting Up Shopware 6</title><link>https://myl3z.me/docs/shopware/shopware-setup/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://myl3z.me/docs/shopware/shopware-setup/</guid><description>&lt;h1 id="setting-up-shopware-6"&gt;Setting Up Shopware 6&lt;a class="anchor" href="#setting-up-shopware-6"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;From an empty directory to a configured shop. The example is &lt;strong&gt;tydace&lt;/strong&gt;, a freshly installed
Shopware 6.7 shop.&lt;/p&gt;
&lt;p&gt;Time needed: just under ten minutes, most of it waiting for Composer.&lt;/p&gt;
&lt;h2 id="the-skeleton"&gt;The Skeleton&lt;a class="anchor" href="#the-skeleton"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="1-create-the-project"&gt;1. Create the Project&lt;a class="anchor" href="#1-create-the-project"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e2e4e5;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;mkdir tydace &lt;span style="color:#ff6ac1"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span style="color:#ff5c57"&gt;cd&lt;/span&gt; tydace
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ddev config --project-type&lt;span style="color:#ff6ac1"&gt;=&lt;/span&gt;shopware6 --docroot&lt;span style="color:#ff6ac1"&gt;=&lt;/span&gt;public&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;ddev config&lt;/code&gt; writes &lt;code&gt;.ddev/config.yaml&lt;/code&gt;. The project type &lt;code&gt;shopware6&lt;/code&gt; sets the matching nginx
configuration and the environment variables Shopware expects; &lt;code&gt;--docroot=public&lt;/code&gt; tells ddev
where &lt;code&gt;index.php&lt;/code&gt; lives.&lt;/p&gt;</description></item><item><title>Working With It Daily</title><link>https://myl3z.me/docs/shopware/ddev-daily/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://myl3z.me/docs/shopware/ddev-daily/</guid><description>&lt;h1 id="working-with-it-daily"&gt;Working With It Daily&lt;a class="anchor" href="#working-with-it-daily"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;The shop runs. What matters now are the ten commands you genuinely use every day — and a few
habits that save a lot of time.&lt;/p&gt;
&lt;h2 id="the-ground-rule"&gt;The Ground Rule&lt;a class="anchor" href="#the-ground-rule"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Anything concerning the shop runs inside the container.&lt;/strong&gt; So &lt;code&gt;ddev composer&lt;/code&gt; instead of
&lt;code&gt;composer&lt;/code&gt;, &lt;code&gt;ddev console&lt;/code&gt; instead of &lt;code&gt;bin/console&lt;/code&gt;, &lt;code&gt;ddev npm&lt;/code&gt; instead of &lt;code&gt;npm&lt;/code&gt;. The reason is
always the same: inside the container the project&amp;rsquo;s PHP and Node versions apply, on the
machine those of the machine.&lt;/p&gt;</description></item></channel></rss>