From ab16949ec88fc400b116b5574652756185fd61d6 Mon Sep 17 00:00:00 2001 From: snsd0805 Date: Tue, 13 Jun 2023 16:47:32 +0800 Subject: [PATCH] docs(fix): incorect deploy steps --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0377201..34ad86b 100644 --- a/README.md +++ b/README.md @@ -14,18 +14,17 @@ Additionally, we have implemented a web interface for interacting with this repo ## Deploy (localhost) 1. Open Ganache on your localhost -2. Install the project dependencies: - ``` - npm install - ``` - -3. clone this repo +2. clone this repo ``` git clone $THIS_REPO_LINK ``` -4. Open the Truffle console +3. Install the project dependencies: ``` cd Credit-Card-System-smartcontract + npm install + ``` +4. Open the Truffle console + ``` truffle console ``` 5. Deploy the contracts in the Truffle console: