From dce117c8540c275201daa13c8c93dac762bb7af7 Mon Sep 17 00:00:00 2001 From: Pierre Bertet Date: Fri, 12 Apr 2024 16:07:52 +0100 Subject: [PATCH] README: Minor tweaks --- README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 37ccc45f..5889d370 100644 --- a/README.md +++ b/README.md @@ -17,28 +17,30 @@ pnpm install ## How to develop ```sh -# Run the anvil local node (keep it running in a separate terminal) +# Run the anvil local node (keep it running in a separate terminal): anvil -# Deploy the contracts +# First, we need to deploy the contracts: cd contracts + +# Deploy the contracts: ./deploy local --open-demo-troves # optionally open troves for the first 8 anvil accounts -# Print the addresses of the deployed contracts +# Print the addresses of the deployed contracts: pnpm tsx utils/deployment-artifacts-to-app-env.ts deployment-context-latest.json -# Now, the app: +# We are now ready to pass the deployed contracts to the app: cd ../frontend -# Copy the example .env file +# Copy the example .env file: cp .env .env.local # Edit the .env.local file: # - Make sure the Hardhat / Anvil section is uncommented. -# - Copy into it the addresses printed by the previous command. +# - Copy into it the addresses printed by command above. -# Run the app development server +# Run the app development server: pnpm dev -# Open https://localhost:3000 in your browser +# You can now open https://localhost:3000 in your browser. ```