34 lines
432 B
Markdown
34 lines
432 B
Markdown
# lol-pairing-stat-fetcher
|
|
|
|
## setup
|
|
|
|
You must copy `example.env` to `.env`, and input your Riot Games API Key to `.env`
|
|
|
|
Then run:
|
|
|
|
```sh
|
|
npm ci
|
|
```
|
|
|
|
## running code
|
|
|
|
### with docker-compose
|
|
|
|
```sh
|
|
docker-compose up
|
|
```
|
|
|
|
### on its own
|
|
|
|
Note: you will need to provide your own redis, or disable redis caching by switching from `"ioredis"` to `"local"`
|
|
|
|
```sh
|
|
npm start
|
|
```
|
|
|
|
#### with cache debugging
|
|
|
|
```sh
|
|
npm run debug-cache
|
|
```
|