-
Setup Redis service (see below)
-
Setup Database
-
Put redis and database connection details in
.env
(see.env.example
) -
Push schema to database:
yarn db:push
-
Provide details for the chains (rpc/explorers) By default, RPCs shipped with the view will be used. To override, provide the details in
.env
(see.env.example
) By default, explorers are not used. To use, provide the details in.env
(see.env.example
) -
Seed database:
yarn db:seed
- Enable queue dashboard by setting
QUEUE_DASHBOARD_PORT=<port>
in.env
to a port number you want to use for the dashboard - by default it is disabled:
QUEUE_DASHBOARD_PORT=3000
- Start the queue:
yarn queue
Check out current queue schema here: Queue schema
Run redis server:
docker-compose up
Flush redis while service is running:
docker-compose exec redis redis-cli flushall