Skip to content

Commit b22ee64

Browse files
committed
fix: Fixed instructions for blockchain node reset
1 parent 3975a49 commit b22ee64

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

servers/README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,30 @@ You will need to set the environment variables:
2525

2626
The corresponding keys/passphrases will also need to be added to relevant CI/Devops processes for your environment:
2727

28-
Then run all the commands found in the functions `server.sh`
28+
Then run all the commands found in the functions found here `server.sh`
2929

3030
```bash
3131
server_setup_prerequisits
3232
server_setup_tonomy_first_time
3333
server_setup_ssl
3434
```
3535

36-
Next time, to reset and re-initalize
36+
Next time, to reset and re-initialize
3737

3838
```bash
39+
git pull
40+
cd servers
41+
source ./server.sh development
42+
cd ../
43+
44+
# Run the environment specific settings. Example (developer environment)
45+
export NODE_ENV=staging
46+
export TONOMY_OPS_PRIVATE_KEY=PVT_K1_24kG9VcMk3VkkgY4hh42X262AWV18YcPjBTd2Hox4YWoP8vRTU
47+
export TONOMY_BOARD_PUBLIC_KEYS='{"keys":["PUB_K1_81aU18Y3RdyFf2WY4Wy7g7fvG9M9d7hmY4rhNFeXouYYPjExua","PUB_K1_5HWprCobEy8LiYUpfVmh8BdGDb8ANPc8rhBhtNqhvXnuxpyCaq","PUB_K1_5VLYVhqfe7oh8TW2i6Nw251wbpoZ4p15DV7udqDjiaKnryx9YU"]}'
48+
export TONOMY_TEST_ACCOUNTS_PASSPHRASE='above day fever lemon piano sport'
49+
history -d -2
50+
history -d -2
51+
history -d -2
52+
3953
server_reset
4054
```

servers/server.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ function server_setup_ssl {
9393
}
9494

9595
function server_reset {
96-
cd Tonomy-ID-Integration
9796
./app.sh stop
9897
git pull
9998
./app.sh gitinit "${BRANCH}"

0 commit comments

Comments
 (0)