-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup side chain on local #5337
Conversation
## kill enevti-core process | ||
# kill $( cat enevti-core.pid ) || true | ||
# sleep 10 | ||
# kill -9 $( cat enevti-core.pid ) || true | ||
# cat enevti-core.out | ||
# cat enevti-core.err |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since enevti-service and lisk-core were shut down properly, why wasn't enevti-core shut down?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reason was because for now the enevti-core isn't running at the moment(there is a sight issue with enevti running on jeinkins which I would be resolving in this issue) because of those reasons, there would be no pid, out or err files created. Reason for me commenting those lines out @ikem-legend
464b220
What was the problem?
This PR resolves #5173
How was it solved?
How was it tested?
Spin up core for both chains (i.e lisk and enevti) by running the following;
lisk-desktop
root directory, then runCORE=lisk source e2e/scripts/run-core.sh
on that terminal. This should spin up lisk core on that terminal.lisk-desktop
root directory and runCORE=enevti source e2e/scripts/run-core.sh
. This should spin up enevti core on that terminal.Spin up service for both enevti and lisk
lisk-desktop
root directory then runLISK_SERVICE_FILE_PATH="<relative path to the lisk-service folder>" GITHUB_APP_REGISTRY_REPO_BRANCH=jenkins-deployment sh e2e/scripts/run-service.sh
on that terminal. This should spin up a lisk-service that connects to the lisk-core initially created on that terminal.lisk-desktop
root directory then runENEVTI_SERVICE_FILE_PATH="<relative path to the enveti service folder>" GITHUB_APP_REGISTRY_REPO_BRANCH=jenkins-deployment source e2e/scripts/run-service.sh
on that terminal. This should spin up anenevti-service
instance that connects to the enevti-core instance created initially on that terminal.With the above, you should have core and service for enevti and lisk up and running. Then you should be able to run the e2e test or add a local network connection to a running lisk-deskop application. With this, all endpoints should point to 127.0.0.1 and enevti should be part of the explorable applications if viewed from the lisk local main chain