# Shopware Plattform / 6 / Playground lokal ohne Docker

**URL:** <https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671>\
**Category:** Shopware Playground - API first Sandbox\
**Created:** [20. März 2019 um 09:36 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671 "2019-03-20T09:36:27Z")\
**Posts on this page:** 16\
**Page:** 3

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [21. März 2019 um 09:58 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/41 "2019-03-21T09:58:26Z")

</div>

@dreischild‍&nbsp; Ist denn deine&nbsp;Installation über shopware.test:8000 erreichbar?

Ich habe bei mir in der base.html.twig die&nbsp;isHMRMode Variable auf false gesetzt im Footer - Sodass eben ohne das Hot Reload ads ganze geladen wird / ohne Port. Sprich&nbsp;[http://shopware.test/js/main.bundle.js](http://shopware.test:8000/js/main.bundle.js)

Das wird bei dir wohl das gleiche sein.

---

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [21. März 2019 um 10:14 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/42 "2019-03-21T10:14:21Z")

</div>

Ah okay.  
Dann ist&nbsp;[http://shopware.test:8000/js/main.bundle.js](http://shopware.test:8000/js/main.bundle.js)&nbsp;bei mir korrekt, da ich auf dem Port 8000 arbeite.  
Welche CSS Dateien werden denn bei dir geladen? Auch nur die ccs/main.bundle.css?

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [21. März 2019 um 10:49 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/43 "2019-03-21T10:49:10Z")

</div>

> [@dreischild schrieb:](https://forum.shopware.com/profile/15018/dreischild "dreischild")
> 
> Ah okay.  
> Dann ist&nbsp;[http://shopware.test:8000/js/main.bundle.js](http://shopware.test:8000/js/main.bundle.js)&nbsp;bei mir korrekt, da ich auf dem Port 8000 arbeite.  
> Welche CSS Dateien werden denn bei dir geladen? Auch nur die ccs/main.bundle.css?

Jop.

/css/main.bundle.css"\\> 

Aber die Storefront hängt viel mehr mit dem Javascript zusammen. Funktioniert es denn nun nachdem kompiliere?&nbsp;

---

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [21. März 2019 um 12:56 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/44 "2019-03-21T12:56:42Z")

</div>

Ne, irgendwie nicht. Naja, ich belasse es erstmal dabei. Die Storefront ist aktuell eh noch nicht so interessant.

---

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [21. März 2019 um 13:19 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/45 "2019-03-21T13:19:32Z")

</div>

Ist es aktuell normal, dass man im Backend die Vue Developer Toolbar nicht nutzen kann?&nbsp;  
Kommt nur **Vue.js not detected**. Also mit administration:watch

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [21. März 2019 um 14:08 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/46 "2019-03-21T14:08:17Z")

</div>

> [@dreischild schrieb:](https://forum.shopware.com/profile/15018/dreischild "dreischild")
> 
> Ist es aktuell normal, dass man im Backend die Vue Developer Toolbar nicht nutzen kann?&nbsp;  
> Kommt nur **Vue.js not detected**. Also mit administration:watch

&nbsp;Bei administration:watch funktioniert das bei mir ohne Probleme. In den Dev-Tools hab ich direkt den Vue-Reiter und kann da diese Informationen einsehen.&nbsp;

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [21. März 2019 um 14:41 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/47 "2019-03-21T14:41:01Z")

</div>

Bei mir funktioniert es ebenfalls ohne Probleme.

Da ich Shopware nur nich&nbsp;auf den Port laufen hatte, musste ich den Port 9500 nehmen (&nbsp;./psh.phar administration:watch --DEVPORT=9500 )

Auf [http://localhost:9500](http://localhost:9500) habe ich dann die Administration samt hot-reloading, vue-devtools usw.

[![Imgur](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/7/7336107d37694ee92de4ba5ac13dd975b20db2c6.png "imgur.com") ](https://imgur.com/ZaNsKNU)

---

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [21. März 2019 um 20:02 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/48 "2019-03-21T20:02:41Z")

</div>

Ich habe jetzt nochmal alles aufgesetzt. Bekomme nach wie vor kein VueJS&nbsp;Developer Tool zum laufen. Weder im Chrome noch im Firefox.

[@Stephan Pohl]([http://forum.shopware.com/profile/2/Stephan](http://forum.shopware.com/profile/2/Stephan) Pohl „Stephan Pohl“)‍  
Gibt es hier eine besondere Konfiguration, oder so, wo man das freischalten muss?  
Oder darf es ggf. nicht die aktuelle NPM Version sein?!

Mein Script zum erstellen sieht wie folgt aus:  
Fehlt da noch was?

```
set -e

export DEBIAN_FRONTEND=noninteractive
mkdir -p $HOME/build.locks
mkdir -p $HOME/shopware-dev
cd $HOME/shopware-dev

sudo apt-get update
sudo apt-get upgrade -y
sudo apt install -y php
sudo apt install -y composer

sudo apt install -y php7.2 libapache2-mod-php php-cli
sudo apt install -y mysql-server apache2
sudo apt install -y composer nodejs npm chromium-browser default-jre-headless git
sudo apt install -y php-gd php-intl php-iconv php-mbstring php-mysql php-xml php-zip php-json

#Update NPM (https://github.com/nodesource/distributions/blob/master/README.md)
sudo apt-get -y install curl
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
sudo apt-get install -y nodejs

sudo /etc/init.d/mysql start

sudo mysql << EndOfMessage
CREATE USER 'app'@'localhost' IDENTIFIED BY 'app';
GRANT ALL PRIVILEGES ON shopware.* TO 'app'@'localhost';
GRANT ALL PRIVILEGES ON shopware_test.* TO 'app'@'localhost';
GRANT ALL PRIVILEGES ON shopware_e2e.* TO 'app'@'localhost';
FLUSH PRIVILEGES;
EndOfMessage

sudo mysql << EndOfMessage
SET GLOBAL group_concat_max_len = 1000000;
EndOfMessage

git clone https://github.com/shopware/development.git $HOME/shopware-dev

##todo: entspricht nicht manuellem setup
tee .psh.yaml.override << EndOfMessage
const:
  APP_ENV: "dev"
  APP_URL: "http://www.shopware-dev.de"
  DB_HOST: "localhost"
  DB_PORT: "3306"
  DB_NAME: "shopware"
  DB_USER: "app"
  DB_PASSWORD: "app"
  CHROME_BIN: "chromium-browser"
EndOfMessage

git clone --depth=1 https://github.com/shopware/platform.git

composer install

sudo npm install -g npm

npm install in vendor/shopware/platform/src/Administration/Resources/administration/

./psh.phar init

npm clean-install --prefix vendor/shopware/platform/src/Administration/Resources/administration/

./psh.phar administration:build

bin/console assets:install

sudo usermod -a -G www-data $(whoami)
sudo chgrp -R www-data $HOME/shopware-dev
sudo find $HOME/shopware-dev -type d -exec chmod g+s '{}' \;
sudo chmod g+w -R $HOME/shopware-dev/var
sudo chmod g+w -R $HOME/shopware-dev/public/media

sudo echo "127.0.0.1 www.shopware-dev.de" | sudo tee --append /etc/hosts

sudo ln -s $HOME/shopware-dev /var/www/www.shopware-dev.de

sudo /etc/init.d/apache2 restart

echo "LISTEN 80

    DocumentRoot "/var/www/www.shopware-dev.de/public"
    ServerName www.shopware-dev.de
    
        AllowOverride All
    
" > $HOME/www.shopware-dev.de.conf

sudo mv $HOME/www.shopware-dev.de.conf /etc/apache2/sites-available/www.shopware-dev.de.conf

# enable shopware vhost
sudo a2ensite www.shopware-dev.de.conf
# disable default vhost
sudo a2dissite 000-default.conf
# enable mod_rewrite
sudo a2enmod rewrite
# restart apache (changed)
sudo /etc/init.d/apache2 restart

./psh.phar demo-data

```

&nbsp;

---

<div class="post-metadata">

**Author:** ![bluewolf](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/bluewolf/32/7886_2.png) [@bluewolf](https://forum.shopware.com/u/bluewolf)\
**Post date:** [5. April 2019 um 15:38 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/49 "2019-04-05T15:38:12Z")

</div>

Kämpfe auch mit der Geschichte… lerne jetzt auch noch mit Linux umzugehen…

Bei bin/setup Datenbank nach Passwort:

In setup line 86:  
SQLSTATE[HY000] [2002[ no such file or directory

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [7. April 2019 um 19:06 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/50 "2019-04-07T19:06:44Z")

</div>

> [@bluewolf schrieb:](https://forum.shopware.com/profile/2759/bluewolf "bluewolf")
> 
> Kämpfe auch mit der Geschichte… lerne jetzt auch noch mit Linux umzugehen…
> 
> Bei bin/setup Datenbank nach Passwort:
> 
> In setup line 86:  
> SQLSTATE[HY000] [2002[ no such file or directory

Was hast du als Server agegeben, localhost? Falls ja, versuch mal 127.0.0.1&nbsp;  
Welche MySQL Version?

---

<div class="post-metadata">

**Author:** ![bluewolf](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/bluewolf/32/7886_2.png) [@bluewolf](https://forum.shopware.com/u/bluewolf)\
**Post date:** [8. April 2019 um 07:20 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/51 "2019-04-08T07:20:00Z")

</div>

Moin,

scheint die falsche MariaDB zu sein 10.1 - danke. 127.0.0.1 geht da auch nicht.

&nbsp;

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [8. April 2019 um 07:32 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/52 "2019-04-08T07:32:07Z")

</div>

Hallo,

bitte mindestens MariaDB 10.3 einsetzen:&nbsp;[https://docs.shopware.com/en/shopware-platform-en/getting-started/requirements?category=shopware-platform-en/getting-started](https://docs.shopware.com/en/shopware-platform-en/getting-started/requirements?category=shopware-platform-en/getting-started)

Viele Grüße aus Schöppingen

![cool](http://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/shopware.png "cool")&nbsp;Michael Telgmann

---

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [8. April 2019 um 15:00 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/53 "2019-04-08T15:00:24Z")

</div>

Es wäre hier wirklich hilfreich, wenn ihr einmal einen kompletten Guide veröffentlichen könntet. Also bspw. von der frischen Ubuntu Installation zur Entwicklungsumgebung.

---

<div class="post-metadata">

**Author:** ![n8lauscher](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/n8lauscher/32/13325_2.png) [@n8lauscher](https://forum.shopware.com/u/n8lauscher)\
**Post date:** [21. September 2019 um 20:32 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/54 "2019-09-21T20:32:43Z")

</div>

@dreischild‍

Hast Du es mittlerweile hinbekommen?&nbsp;  
&nbsp;

---

<div class="post-metadata">

**Author:** ![FragenAnsForum](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/fragenansforum/32/7849_2.png) [@FragenAnsForum](https://forum.shopware.com/u/FragenAnsForum)\
**Post date:** [14. Mai 2020 um 09:10 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/55 "2020-05-14T09:10:01Z")

</div>

> [@dreischild schrieb:](https://forum.shopware.com/profile/15018/dreischild "dreischild")
> 
> Es wäre hier wirklich hilfreich, wenn ihr einmal einen kompletten Guide veröffentlichen könntet. Also bspw. von der frischen Ubuntu Installation zur Entwicklungsumgebung.
> 
> &nbsp;
> 
> &nbsp;

+1! …Und HowTos für „Otto-Normal-User“. Siehe&nbsp;[https://forum.shopware.com/discussion/61998/api-produkt-mit-kategorie-verknuepfen](https://forum.shopware.com/discussion/61998/api-produkt-mit-kategorie-verknuepfen)

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [14. Mai 2020 um 10:08 UTC](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671/56 "2020-05-14T10:08:42Z")

</div>

> [@FragenAnsForum schrieb:](https://forum.shopware.com/profile/31739/FragenAnsForum "FragenAnsForum")
> 
> > [@dreischild schrieb:](https://forum.shopware.com/profile/15018/dreischild "dreischild")
> > 
> > Es wäre hier wirklich hilfreich, wenn ihr einmal einen kompletten Guide veröffentlichen könntet. Also bspw. von der frischen Ubuntu Installation zur Entwicklungsumgebung.
> > 
> > &nbsp;
> > 
> > &nbsp;
> 
> +1! …Und HowTos für „Otto-Normal-User“. Siehe&nbsp;[https://forum.shopware.com/discussion/61998/api-produkt-mit-kategorie-verknuepfen](https://forum.shopware.com/discussion/61998/api-produkt-mit-kategorie-verknuepfen)

Den Guide gibt es schon:&nbsp;[https://docs.shopware.com/en/shopware-6-en/tutorials-and-faq/virtual-box-setup#downloading-ubuntu](https://docs.shopware.com/en/shopware-6-en/tutorials-and-faq/virtual-box-setup#downloading-ubuntu)

&nbsp;

[Vorherige Seite](https://forum.shopware.com/t/shopware-plattform-6-playground-lokal-ohne-docker/58671.md?page=2)
