... | @@ -77,4 +77,16 @@ Falls ja, dann hast du es geschafft! |
... | @@ -77,4 +77,16 @@ Falls ja, dann hast du es geschafft! |
|
- Installiere nun mit **npm** alle dependencies, schreibe dafür **`sudo apt-get install --allow-unauthenticated gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget`** in die Kommandozeile.
|
|
- Installiere nun mit **npm** alle dependencies, schreibe dafür **`sudo apt-get install --allow-unauthenticated gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget`** in die Kommandozeile.
|
|
- Lass das Programm sich aufbauen indem du **`npm run build:STAGING_THM`** in die Kommandozeile eingibst, führe es danach mit **`ng serve --port 4210`** aus.
|
|
- Lass das Programm sich aufbauen indem du **`npm run build:STAGING_THM`** in die Kommandozeile eingibst, führe es danach mit **`ng serve --port 4210`** aus.
|
|
- Öffne http://localhost:4210/ im Browser um es dir anzugucken.
|
|
- Öffne http://localhost:4210/ im Browser um es dir anzugucken.
|
|
- Teste das Frontend indem du **`npm test`** in die Kommandozeile eingibst. |
|
- Teste das Frontend indem du **`npm test`** in die Kommandozeile eingibst.
|
|
\ No newline at end of file |
|
|
|
|
|
## Fehlerbehebung
|
|
|
|
|
|
|
|
Wenn Sie auf **`MongooseServerSelectionError: Authentication failed`** stoßen, authentifizieren Sie Ihre Datenbank und stellen Sie sicher, dass Ihre Passwörter übereinstimmen. Sie können dies über Mongodb Compass tun und die Verbindungszeichenfolge verwenden: **`mongodb://user:pass123@localhost:27017/arsnova-click-v2?authSource=arsnova-click-v2`**
|
|
|
|
|
|
|
|
Um den Docker-Container vollständig zu stoppen, verwenden Sie **`docker rm -f arsnova-click-backend-rabbitmq arsnova-click-backend-mongodb`**
|
|
|
|
|
|
|
|
Um Protokolle von Ihren Docker-Containern zu erhalten, verwenden Sie entweder **`docker logs -f arsnova-click-backend-rabbitmq`** oder **`docker logs -f arsnova-click-backend-mongodb`**
|
|
|
|
|
|
|
|
Um Fehler in der Mongodb-Datenbank im Docker zu beheben, verwenden Sie **`docker exec -it docker logs -f arsnova-click-backend-mongodb`** und geben Sie dann **`mongo`** ein. Jetzt befinden Sie sich in der Mongo-Shell innerhalb des Docker-Containers. Tippe **`use arsnova-click-v2`** und authentifizier den root Benutzer mit db.auth ("root", "pass123").
|
|
|
|
|
|
|
|
Übersetzt mit www.DeepL.com/Translator (kostenlose Version) |
|
|
|
\ No newline at end of file |