chainpoint / chainpoint-gateway

Chainpoint Gateway
https://chainpoint.org
Apache License 2.0
27 stars 12 forks source link

Node link installation instructions not available #35

Closed markteal closed 4 years ago

markteal commented 4 years ago

Trying to setup a chainpoint node but have no documentation. Link is bad:

If you want to run your own Chainpoint Node please instead see the following repository which provides installation and run instructions. https://github.com/chainpoint/chainpoint-node

Need better guidance please.

markteal commented 4 years ago

Trying to setup a chainpoint node but have no documentation. Link is bad:

If you want to run your own Chainpoint Node please instead see the following repository which provides installation and run instructions. https://github.com/chainpoint/chainpoint-node Need better guidance please.

I have no idea if this belongs here but if it saves someone time in trying to setup a Tierion Chainpoint node, then that is a good thing. After many many hours, here is what I did to get up and running:

  1. Download Ubuntu 18.04.3 LTS (Bionic Beaver) http://releases.ubuntu.com/bionic/

  2. Create a bootable USB and install Ubuntu bionic https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows#0

  3. Download the following script file https://chainpoint-node.storage.googleapis.com/setup.sh

  4. Edit the file in a text editor and comment out the checks for Xenial.

  5. Copy the modified setup.sh over to your Ubuntu Bionic installation (home folder is fine)

  6. In Ubuntu press Ctrl-Alt-T to get to a command window

  7. Type: sudo apt-get install curl to install curl

  8. Type: chmod +x setup.sh to ensure setup.sh can be executed assuming you are in the same directory as setup.sh

  9. Type: sudo sh setup.sh this should execute the script to install docker, docker compose, chainpoint-node

  10. If all of this works, there should be a chainpoint-node directory So type: cd chainpoint-node

  11. Type: sudo nano .env To edit the environment file Put your ethereum wallet (holding at least 5000 TNS) public address after NODE_TNT_ADDRESS= Put your external IPv4 IP address after CHAINPOINT_NODE_PUBLIC_URI= Hit Ctrl-O and Enter to save the file Hit Ctrl-X to exit the editor

  12. Type: sudo make up this will start the node

  13. To check that the node is running, from another machine go to: http:// youripaddress Use your ETH address to login

  14. Be sure to set power settings on your node to not go to sleep

  15. Notes....

    Note - to bring the node down you would simply type: sudo make down Don't do this now if you want to keep your node running

    Note - In order to see the logs run, type: sudo make logs

    Note - To make sure your node is up to date, once in a while type: sudo make upgrade

    Note - To restart the node, type: sudo make restart

    Note - To show status of running processes, type: sudo make ps