File tree 6 files changed +34
-9
lines changed
6 files changed +34
-9
lines changed Original file line number Diff line number Diff line change 1
- cp -n .env.example .env
2
- docker build . -t etherdocs-client
1
+ cp -n .env.example .env
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ version : ' 3.8'
2
+
3
+ services :
4
+ client :
5
+ build :
6
+ context : ./client
7
+ ports :
8
+ - " 3000:3000"
9
+ container_name : etherdocs-client
10
+
11
+ server :
12
+ build :
13
+ context : ./server
14
+ ports :
15
+ - " 5000:5000"
16
+ container_name : etherdocs-server
17
+
18
+ chain :
19
+ build :
20
+ context : ./smart_contracts
21
+ ports :
22
+ - " 8545:8545"
23
+ container_name : etherdocs-chain
Original file line number Diff line number Diff line change @@ -6,7 +6,13 @@ requirements
6
6
- ipfs desktop
7
7
- docker
8
8
9
- 1. in all the folders "server", "client" and "smart_contracts" there are build.sh and run.sh scripts run them in that order
10
- 2. add the local chain with rpc url http://127.0.0.1:8545/ to metamask
11
- 3. get the logs of the etherdocs-chain container and use the private keys to add accounts to the metamask wallet
12
- 4. make sure to clear account data before every new session
9
+
10
+ steps
11
+
12
+ - cd into the client folder and execute the build.sh script with "bash build.sh"
13
+ - start ipfs desktop application
14
+ - add the local chain with rpc url http://127.0.0.1:8545/ and chainid 31337 to metamask and reset account data
15
+ - run "docker-compose up" in the project root folder
16
+ - get the logs of the etherdocs-chain container and use the private keys to add accounts to the metamask wallet
17
+ - make sure to clear account data before every new session
18
+ - visit http://localhost:3000/
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments