Installation
Prerequisites
- Node.js 16+ (download)
- npm 8+ (comes with Node.js)
- Git (download)
- Docker (optional, for local infrastructure) (download)
Quick Start with Ever CLI
The fastest way to get started:
# Install the Ever CLI globally
npm install -g @ever-healthcare/ever-cli
# Initialize a new EDH installation
ever init
# Follow the interactive prompts!
The ever init command will:
- Check your system prerequisites
- Clone the edh-central repository
- Configure your
.envfile - Install all dependencies
- Build the core crypto library
- Compile smart contracts
- Optionally start Docker infrastructure
Manual Setup
# 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
Or step-by-step:
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
Start Local Development
# 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
Verify Installation
# Check everything is working
ever doctor
# Or from the repo:
npm run edh status
Next Steps
- CLI Reference — All available commands
- Architecture — How the system works
- Trust Model — How we prove security