Update README.md

This commit is contained in:
steinkirch.eth 2023-03-13 00:32:14 -07:00 committed by GitHub
parent 97065b2c05
commit e0e44f7fda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ because of some of the dependencies in this code, we will be developing on a pyt
``` ```
virtualenv -p /usr/local/bin/python3.9 venv virtualenv -p /usr/local/bin/python3.9 venv
source venv/bin/activate source venv/bin/activate
pip3 install -r requirements.txt make install_dep
``` ```
@ -69,10 +69,8 @@ optional arguments:
-p PROCESS Process historical transfer events data. Example: indexer -p <json data file> -p PROCESS Process historical transfer events data. Example: indexer -p <json data file>
-d DB Populate db with processed event data. Example: indexer -d <json data file> -d DB Populate db with processed event data. Example: indexer -d <json data file>
-a Run the event scanner api locally. Example: indexer -a -a Run the event scanner api locally. Example: indexer -a
-c Deploy event scanner to Vercel. Example: indexer -c
-b BALANCE Fetch token balance for a given wallet. Example: indexer -b <wallet address> -b BALANCE Fetch token balance for a given wallet. Example: indexer -b <wallet address>
-t TOP Fetch top token holders. Example: indexer -t <number of holders> -t TOP Fetch top token holders. Example: indexer -t <number of holders>
-g CHANGE Fetch weekly balance change for a given wallet. Example: indexer -g <wallet address>
``` ```
@ -80,18 +78,12 @@ optional arguments:
--- ---
### development
### deploying in production
<br> <br>
#### deploying in production follow [this instructions](https://mirror.xyz/steinkirch.eth/vSF18xcLyfXLIWwxjreRa3I_XskwgnjSc6pScegNJWI) to deploy the indexer to [vercel](https://vercel.com/) and [mongodb atlas](https://cloud.mongodb.com/v2/640ec23b5c46a564602b7c0e#/overview).
we use vercel to deploy this app:
```
vercel login
vercel .
```
<br> <br>