summaryrefslogtreecommitdiffstats
path: root/documentation/de/installation/README.md
blob: a796ed8ebb133be87f8892882b99323a64ce2b3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

Installation

Installation der benötigten Packete

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

git clone http://git.ks.uni-freiburg.de/lsfks/projekte/bas.git
cd bas/server
npm install

Kopiere Zertifikate

scp privkey.pem user@host:path/privkey.pem
scp fullchain.pem user@host:path/fullchain.pem

Einrichten der Konfigurationsdateien

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

cd bas/webapp
npm install
npm run build

Ausführen des node.js Server

cd bas/server
npm start

Standart Ports

  • Server: 3000
  • tftp: Serverport + 1 (3001)