README.md 1.06 KB
Newer Older
Andreas Åkre Solberg's avatar
Andreas Åkre Solberg committed
1
# edulab-frontend
2
3


4

Andreas Åkre Solberg's avatar
Andreas Åkre Solberg committed
5
6


7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
To build docker image

```
bin/build.sh
```

and to run a development version with mounted dirs for development, add some config in a `ENV` file:

```
dataporten:clientID=bc2a7ac4-9ec0-4452-a58f-f64173c54f30
dataporten:clientSecret=7d9ad958-76d8-41c2-bd86-82563802f6c4
dataporten:sessionkey=ec5040a7-5aec-42c7-8ab3-f7d5c4149191
```

and run

```
bin/rundev.sh
```
26
27
28
29
30
31
32
33
34
35

Prepare for development env:

```
curl -o node_modules/uninett-bootstrap-theme/fonts/colfaxLight.woff http://mal.uninett.no/uninett-theme/fonts/colfaxLight.woff
curl -o node_modules/uninett-bootstrap-theme/fonts/colfaxMedium.woff http://mal.uninett.no/uninett-theme/fonts/colfaxMedium.woff
curl -o node_modules/uninett-bootstrap-theme/fonts/colfaxRegular.woff http://mal.uninett.no/uninett-theme/fonts/colfaxRegular.woff
curl -o node_modules/uninett-bootstrap-theme/fonts/colfaxThin.woff http://mal.uninett.no/uninett-theme/fonts/colfaxThin.woff
curl -o node_modules/uninett-bootstrap-theme/fonts/colfaxRegularItalic.woff http://mal.uninett.no/uninett-theme/fonts/colfaxRegularItalic.woff
```