본문으로 건너뛰기

설치

사전 요구 사항

Ever CLI로 빠르게 시작하기

가장 빠르게 시작하는 방법:

# Install the Ever CLI globally
npm install -g @ever-healthcare/ever-cli

# Initialize a new EDH installation
ever init

# Follow the interactive prompts!

ever init 명령은 다음을 수행합니다:

  1. 시스템 사전 요구 사항 확인
  2. edh-central 저장소 clone
  3. .env 파일 구성
  4. 모든 dependencies 설치
  5. 코어 crypto 라이브러리 build
  6. smart contract compile
  7. (선택 사항) Docker 인프라 시작

수동 설치

# Clone the repository
git clone https://github.com/Ever-Healthcare-OMA/edh-central.git
cd edh-central

# Run the setup wizard
npm run edh setup

또는 단계별로:

npm install                        # Install all workspace dependencies
npm run core:build # Build ever-edh-core
npm run contract:compile # Compile Solidity contracts
npm run contract:extract-abi # Sync ABIs to core library

로컬 개발 환경 시작

# Terminal 1: Infrastructure
docker-compose -f docker-compose.dev.yml up -d

# Terminal 2: Local blockchain
npm run contract:node

# Terminal 3: Deploy contracts
npm run contract:deploy:local

# Terminal 4: Backend services
npm run dev:services

# Terminal 5: Desktop client
npm run desktop:dev

설치 확인

# Check everything is working
ever doctor

# Or from the repo:
npm run edh status

다음 단계