forked from cerc-io/testnet-ops
Add step to fetch asset addresses in nitro-node playbook (#15)
Part of [Service Provider Setup](https://www.notion.so/Service-provider-setup-a09e2207e1f34f3a847f7ce9713b7ac5) Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Reviewed-on: cerc-io/testnet-ops#15
This commit is contained in:
parent
65be098ce9
commit
bd1c7bcb3f
@ -115,3 +115,8 @@
|
|||||||
get_url:
|
get_url:
|
||||||
url: https://git.vdb.to/cerc-io/testnet-laconicd-stack/raw/branch/main/ops/stage2/nitro-node-config.yml
|
url: https://git.vdb.to/cerc-io/testnet-laconicd-stack/raw/branch/main/ops/stage2/nitro-node-config.yml
|
||||||
dest: "{{ nitro_directory }}"
|
dest: "{{ nitro_directory }}"
|
||||||
|
|
||||||
|
- name: Fetch required asset addresses
|
||||||
|
get_url:
|
||||||
|
url: https://git.vdb.to/cerc-io/testnet-laconicd-stack/raw/branch/main/ops/stage2/assets.json
|
||||||
|
dest: "{{ nitro_directory }}"
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# service-provider-setup
|
# service-provider-setup
|
||||||
|
|
||||||
|
This setup has been tested on digitalocean droplets running ubuntu 22.04 LTS
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- Setup Ansible: follow the [installation](../README.md#installation) guide to setup ansible on your machine
|
- Setup Ansible: follow the [installation](../README.md#installation) guide to setup ansible on your machine
|
||||||
@ -56,8 +58,8 @@
|
|||||||
|
|
||||||
# vars/webapp-vars.yml
|
# vars/webapp-vars.yml
|
||||||
authority_name: "" # eg: laconic-authority
|
authority_name: "" # eg: laconic-authority
|
||||||
cpu_reservation: "1" # minimum number of cpu cores to be used, eg: 2
|
cpu_reservation: "1" # minimum number of cpu cores to be used, eg: 1
|
||||||
memory_reservation: "2G" # minimum amount of memory in GB to be used, eg: 4G
|
memory_reservation: "2G" # minimum amount of memory in GB to be used, eg: 2G
|
||||||
cpu_limit: "6" # maximum number of cpu cores to be used, eg: 6
|
cpu_limit: "6" # maximum number of cpu cores to be used, eg: 6
|
||||||
memory_limit: "8G" # maximum amount of memory in GB to be used, eg: 8G
|
memory_limit: "8G" # maximum amount of memory in GB to be used, eg: 8G
|
||||||
deployer_gpg_passphrase: "" # passphrase for creating GPG key used by webapp-deployer, eg: SECRET
|
deployer_gpg_passphrase: "" # passphrase for creating GPG key used by webapp-deployer, eg: SECRET
|
||||||
|
@ -62,23 +62,23 @@ Run the following commands on your target machine:
|
|||||||
```
|
```
|
||||||
If the command outputs `"$HOME/bin is not in PATH"`, you'll need to add it to your `PATH`.
|
If the command outputs `"$HOME/bin is not in PATH"`, you'll need to add it to your `PATH`.
|
||||||
|
|
||||||
- To add `$HOME/bin` to your `PATH`, run the following command:
|
- To add `$HOME/bin` to your `PATH`, run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export PATH="$HOME/bin:$PATH"
|
export PATH="$HOME/bin:$PATH"
|
||||||
```
|
```
|
||||||
|
|
||||||
- To make this change permanent, add the following line to your shell configuration file (`~/.bashrc` or `~/.zshrc`, depending on your shell):
|
- To make this change permanent, add the following line to your shell configuration file (`~/.bashrc` or `~/.zshrc`, depending on your shell):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# For bash users
|
# For bash users
|
||||||
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc
|
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
|
|
||||||
# For zsh users
|
# For zsh users
|
||||||
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.zshrc
|
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.zshrc
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
```
|
```
|
||||||
|
|
||||||
- Once the PATH is set, verify the installation by running the following commands:
|
- Once the PATH is set, verify the installation by running the following commands:
|
||||||
|
|
||||||
|
@ -14,10 +14,11 @@
|
|||||||
|
|
||||||
## Setup a user
|
## Setup a user
|
||||||
|
|
||||||
|
Execute the following commands in the `user-setup` directory
|
||||||
|
|
||||||
- Create a new `hosts.ini` file:
|
- Create a new `hosts.ini` file:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd user-setup/
|
|
||||||
cp ../hosts.example.ini hosts.ini
|
cp ../hosts.example.ini hosts.ini
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user