Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 669 Bytes

setup-dev-env.md

File metadata and controls

61 lines (40 loc) · 669 Bytes

How to setup env for development

Step 1: prerequisite

Make sure you have:

  • docker & docker-compose
  • yarn
  • go

Step 2: basic services

start redis, local-ethereum-node and PostgresDB

docker-compose up redis ethereum-node db

Step 3: hydro services

start other Hydro Backend Services

# change to sub-dir: backend
cd ./backend

# API
make api

# engine
make engine

# launcher
make launcher

# watcher
make watcher

# websocket
make ws

# go back to project-dir
cd ..

Step 4: web

# change to sub-dir: web
cd ./web

# install dependencies
yarn install

# start web
yarn start

# go back to project dir
cd ..