... | ... | @@ -17,7 +17,7 @@ Es muss sowohl das Backend als auch das Frontend installiert werden |
|
|
|
|
|
4. Erstelle nun 2 Ordner **`mkdir rabbitmq mongodb`** und gebe dem RabbitMQ Ordner die Berechtigungen zum Lesen, Schreiben und Ausführen mit **`chmod 777 rabbitmq`**
|
|
|
|
|
|
5. Copy:
|
|
|
5. Kopiere:
|
|
|
**`export MONGODB_SERVICE_NAME=localhost`**
|
|
|
**`export MONGODB_DATABASE=arsnova-click-v2`**
|
|
|
**`export MONGODB_USER=root`**
|
... | ... | @@ -28,18 +28,19 @@ Es muss sowohl das Backend als auch das Frontend installiert werden |
|
|
**`export AMQP_HOSTNAME=localhost`**
|
|
|
**`export AMQP_USER=myUser`**
|
|
|
**`export AMQP_PASSWORD=myPassword`**
|
|
|
into the **arsnova-click-export.env** file
|
|
|
Your **arsnova-click-export.env** file should look like this:
|
|
|
in die **arsnova-click-export.env** Datei
|
|
|
Deine **arsnova-click-export.env** Datei sollte so aussehen:
|
|
|
![image](uploads/e6b3ca512c4ef41f13567ca9fd9ed004/image.png)
|
|
|
|
|
|
6. Copy:
|
|
|
6. Kopiere:
|
|
|
**`MONGO_INITDB_DATABASE=arsnova-click-v2`**
|
|
|
**`MONGO_INITDB_ROOT_USERNAME=user`**
|
|
|
**`MONGO_INITDB_ROOT_PASSWORD=pass123`**
|
|
|
into the **mongo.env** file
|
|
|
Your **mongo.env** file should look like this:
|
|
|
![image](uploads/81e0fc421711b6aac510ed8f2eee3ac1/image.png)
|
|
|
7. Copy:
|
|
|
in die **mongo.env** Datei
|
|
|
Deine **mongo.env** Datei sollte so aussehen:
|
|
|
![image](uploads/81e0fc421711b6aac510ed8f2eee3ac1/image.png)
|
|
|
|
|
|
7. Kopiere:
|
|
|
**`db.createUser(`**
|
|
|
**` {`**
|
|
|
**` user: "root",`**
|
... | ... | @@ -52,11 +53,11 @@ Your **mongo.env** file should look like this: |
|
|
**` ]`**
|
|
|
**` }`**
|
|
|
**`);`**
|
|
|
into the **init-mongo.js** file
|
|
|
Your **init-mongo.js** file should look like this:
|
|
|
in die **init-mongo.js** Datei
|
|
|
Deine **init-mongo.js** Datei sollte so aussehen:
|
|
|
![image](uploads/402e6a09fd35ffa29e6f7512a307f77d/image.png)
|
|
|
|
|
|
8. Copy:
|
|
|
8. Kopiere:
|
|
|
**`MONGODB_SERVICE_NAME=localhost`**
|
|
|
**`MONGODB_DATABASE=arsnova-click-v2`**
|
|
|
**`MONGODB_USER=root`**
|
... | ... | @@ -67,9 +68,9 @@ Your **init-mongo.js** file should look like this: |
|
|
**`AMQP_HOSTNAME=localhost`**
|
|
|
**`AMQP_USER=myUser`**
|
|
|
**`AMQP_PASSWORD=myPassword`**
|
|
|
into the **arsnova-click.env** file
|
|
|
Your **arsnova-click.env** file should look like this:
|
|
|
![image](uploads/43641996f484ea95a50340ba3c6087f4/image.png)
|
|
|
in die **arsnova-click.env** Datei
|
|
|
Deine **arsnova-click.env** Datei sollte so aussehen:
|
|
|
![image](uploads/43641996f484ea95a50340ba3c6087f4/image.png)
|
|
|
|
|
|
9. Gib **`source arsnova-click-export.env`** ein um die .env Datei zu übergeben
|
|
|
|
... | ... | |