README.md 532 Bytes
Newer Older
Markus Opolka's avatar
Markus Opolka committed
1
# CDBP
Markus Opolka's avatar
Markus Opolka committed
2

Markus Opolka's avatar
Markus Opolka committed
3
4
5
6
7
8
## Installation

    - NodeJS needs to be installed on the machine.
    - XML files need to be placed in letters/
    - Images need to be placed in static/images/

Markus Opolka's avatar
Markus Opolka committed
9
10
11
12
13
14
## Build Setup

``` bash
# install dependencies
npm install

Markus Opolka's avatar
Markus Opolka committed
15
16
17
# install only prod dependencies
npm install --production

Markus Opolka's avatar
Markus Opolka committed
18
19
20
# serve with hot reload at localhost:8080
npm run dev

21
# serve API at localhost:3000
Markus Opolka's avatar
Markus Opolka committed
22
npm run app
23

Markus Opolka's avatar
Markus Opolka committed
24
25
26
27
28
29
# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report
```