-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
114 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
# DefiLlama | ||
Check it out live at [https://defillama.com](https://defillama.com) | ||
# DefiLlama | ||
|
||
Check it out live at [https://defillama.com](https://defillama.com) | ||
|
||
### To Start Development | ||
|
||
|
||
###### Installing dependencies | ||
|
||
```bash | ||
yarn | ||
``` | ||
|
||
###### Running locally | ||
|
||
```bash | ||
yarn dev | ||
``` | ||
|
||
### Updating API docs | ||
|
||
1. Get the API spec in /docs/spec.yaml and paste it into https://editor.swagger.io/ | ||
2. Modify it | ||
3. Generate a json file by clicking "File" -> "Convert and save as JSON" | ||
4. Copy the generated json file along with the changed yml spec into this repo | ||
|
||
|
||
At the end you should have modified both `/docs/spec.yaml` and `/docs/resolvedSpec.json` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"opRetro": { | ||
"projectId": "0xae07bfec2c3c90937679f8c8c5c32e80407c09903aa03d1b5e5a075e67592b86" | ||
} | ||
"opRetro": { | ||
"projectId": "0xae07bfec2c3c90937679f8c8c5c32e80407c09903aa03d1b5e5a075e67592b86" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.