- Define a new file ./dashboard_site/dashboard_site/.env with a new secrete key for Django, and the api key of allthatnode.com.
For example:
DEBUG=on
OSMOSIS_DECODER_BIN_FN='/code/osmosisd_decoder'
OSMOSIS_LCD_URL='https://osmosis-mainnet-rpc.allthatnode.com:1317'
OSMOSIS_RPC_URL='https://osmosis-mainnet-rpc.allthatnode.com:26657'
SECRET_KEY='qflfdt^7lufhf2+zyt6lwvvwlbyd#unv$m2j+xyo#4u&%(#-_b'
ALLTHATNODE_APIKEY='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
-
Build and run container: docker-compose up --build
-
Populate data: follow instruction from https://github.com/facuzeta/frp-mev-fixed-gas-price-tools/blob/main/populate_data.md
-
Check http://localhost:8000/
-
Start cron-job to get osmosis data from allthatnode.com:
docker-compose exec web service cron start
- Add apache or nginx for production environment (right now is running with runserver)