# oncall-elf

An app for indexing oncall issues. Try the online instance: http://oncall-elf.pingcap.net:8080

## Build & Run

Install dependencies: [Go](https://golang.org), [npm](https://www.npmjs.com/), [go-bindata](https://github.com/jteeuwen/go-bindata). Then:

```bash
$ ./build.sh
$ ./oncall-elf -addr ":8080" -u "{jira-account}" -p "{passwd}"
```

Note that all resources are built into the single binary. So you can copy the single binary to other places.

## Front End

> Built with the Vue CLI.
> Node.js version:  version of node v8.x or v10.x (current is v10.15.3)

### Project setup

```bash
npm install
```

#### Compiles and hot-reloads for development

```bash
npm run serve
```

#### Compiles and minifies for production

```bash
npm run build
```

#### Run your tests

```bash
npm run test
```

#### Lints and fixes files

```bash
npm run lint
```

#### Customize configuration

For detailed explanation on how things work, checkout the [@vue/vli guide](https://cli.vuejs.org/guide/) and See [Configuration Reference](https://cli.vuejs.org/config/).
