___ /\__\ /:/__/_ /::\/\__\ \/\::/ / /:/ / \/__/
Local Deployment
- Clone eigen-secret and eigen-secret-ui, install the deps and build;
cd eigen-secret && npm i && npm run build;
cd eigen-secret-ui && npm i && npm run build;
- Launch Node
cd eigen-secret;
npx hardhat node
- Launch Server
cd eigen-secret;
cp server/.env.sample server/.env
vim server/.env
npm run init:db && npm run server
- Run the CI
cd eigen-secret
./test.sh
- Update contract.json and launch the UI service
cd eigen-secret-ui
vim eigen-secret-ui/src/NET_WORK_CONFIG.json
npm run serve
Open localhost:8080
in browser and login with Metamask directly.
Deploy for Production
Check out the tutorial.