설치
사전 요구 사항
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 명령은 다음을 수행합니다:
- 시스템 사전 요구 사항 확인
- edh-central 저장소 clone
.env파일 구성- 모든 dependencies 설치
- 코어 crypto 라이브러리 build
- smart contract compile
- (선택 사항) 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
다음 단계
- CLI Reference — 사용 가능한 모든 명령
- Architecture — 시스템의 동작 방식
- Trust Model — 보안을 증명하는 방법