Skip to content

Commit

Permalink
update the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
anixon604 committed Oct 25, 2024
1 parent e74039c commit b4722af
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,24 +79,22 @@ Before you begin, ensure you have the following installed on your local machine:

### Deploy the Validator Node

1. **Navigate to the Ansible directory**:
1. **Run the installation script**:
```sh
cd ansible
```

2. **Copy the example `hosts.ini` file and edit it**:
```sh
cp hosts.ini.example hosts.ini
# Edit hosts.ini with the IP address of your VM
chmod +x install-ten.sh
./install-ten.sh
```

You will need to provide the following information:
- Host ID (public key of the validator node wallet)
- Private Key (private key of the validator node wallet)
- Host Public P2P Address (public IP address of the validator node)
- Host ssh username (default is tenuser)*
- Host ssh password or path to ssh key file*
- L1 WS URL (websocket URL of the L1 node)
- Postgres DB Host (leave blank if unsure or want to provision a new one)


3. **Run the Ansible playbook**:
```sh
ansible-playbook -i hosts.ini setup-validator-playbook.yaml
```
Ensure that the `hosts.ini` file is correctly configured with the details of your provisioned infrastructure.
\* Note: If you used terraform to provision the VM, you can just press enter and choose the default values.

## Additional Information

Expand Down

0 comments on commit b4722af

Please sign in to comment.