メインコンテンツまでスキップ

インストール

前提条件

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

次のステップ