From e2748fc46cbbae0ee7caf84d92b4a84a23f5783f Mon Sep 17 00:00:00 2001 From: Jannik Schönartz Date: Tue, 26 Mar 2019 17:12:51 +0000 Subject: [docutmentation] Add german language support (wip) --- documentation/de/installation/README.md | 50 +++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 documentation/de/installation/README.md (limited to 'documentation/de/installation') diff --git a/documentation/de/installation/README.md b/documentation/de/installation/README.md new file mode 100644 index 0000000..a796ed8 --- /dev/null +++ b/documentation/de/installation/README.md @@ -0,0 +1,50 @@ +# Installation + + + + +## Installation der benötigten Packete +```bash +sudo apt-get install git +sudo apt-get install curl software-properties-common +curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - +sudo apt-get install nodejs +``` + +## Installation des node.js Servers +```bash +git clone http://git.ks.uni-freiburg.de/lsfks/projekte/bas.git +cd bas/server +npm install +``` + +## Kopiere Zertifikate +```bash +scp privkey.pem user@host:path/privkey.pem +scp fullchain.pem user@host:path/fullchain.pem +``` + +## Einrichten der Konfigurationsdateien +```bash +cd bas/server/config +cp authentication.template.json authentication.json +cp database.template.json database.json +cp config.template.json config.json +``` + +## Installation der webapp +```bash +cd bas/webapp +npm install +npm run build +``` + +## Ausführen des node.js Server +```bash +cd bas/server +npm start +``` + +## Standart Ports +* Server: 3000 +* tftp: Serverport + 1 (3001) -- cgit v1.2.3-55-g7522