Skip to content

Commit

Permalink
correct env vars and dev command (#118)
Browse files Browse the repository at this point in the history
Co-authored-by: aardbol <[email protected]>
  • Loading branch information
aardbol and aardbol authored Feb 29, 2024
1 parent f13b21c commit c20607a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ Set environment variables, eg:

NAMESPACE=rococo
HEALTHY_MIN_PEER_COUNT="1"
RELAY_CHAIN_RPC_URL: "wss://rococo-rpc.polkadot.io"
RPC_NODE_URL_PATTERN: "NODE_NAME.rococo:9944"
HEALTHY_MIN_PEER_COUNT: "1"
RELAY_CHAIN_RPC_URL="wss://rococo-rpc.polkadot.io"
RPC_NODE_URL_PATTERN="NODE_NAME.rococo:9944"
HEALTHY_MIN_PEER_COUNT="1"
SUDO_SEED=***
DERIVATION_ROOT_SEED=***
RELAY_CHAIN_CONSENSUS=poa

Start the app:

# Dev
python -m uvicorn main:app --reload
poetry run uvicorn main:app --reload
# Prod
python -m gunicorn -k uvicorn.workers.UvicornWorker main:app --bind 0.0.0.0:5000 --timeout=3600 --capture-output --enable-stdio-inheritance --workers 4

Expand Down

0 comments on commit c20607a

Please sign in to comment.