-
Start the env
$ docker-compose -f local.yml up
-
DB Migration (only need to run one time)
-
$ docker-compose -f local.yml run --rm django python manage.py makemigrations $ docker-compose -f local.yml run --rm django python manage.py migrate
-
Fetch NFT and rank!
-
Must provided: uri, number_of_nfts
-
Optional : workers (controlling how many threads)
-
E.g
$ docker-compose -f local.yml run --rm django python manage.py fetch_nfts --uri https://nft-api.avgle.com/a/ --number_of_nfts=10000
-