Skip to content

Commit f1abbdc

Browse files
authored
chore: update relay repo paths (#12)
1 parent 59231e7 commit f1abbdc

File tree

13 files changed

+24
-26
lines changed

13 files changed

+24
-26
lines changed

docs/relays/khatru-pyramid/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We're going to be "installing" the `khatru-pyramid` binary to the `/usr/local/bi
1313
First, navigate to the directory where you installed the binary, e.g.,
1414

1515
```bash
16-
cd /tmp/khatru-pyramid
16+
cd $HOME/nostr/relays/khatru-pyramid
1717
```
1818

1919
To "install" Khatru Pyramid we can run:

docs/relays/khatru29/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We're going to be "installing" the `khatru29` binary to the `/usr/local/bin` dir
1313
First, navigate to the directory where you installed the binary, e.g.,
1414

1515
```bash
16-
cd /tmp/relay29/examples/groups.fiatjaf.com
16+
cd $HOME/nostr/relays/relay29/examples/groups.fiatjaf.com
1717
```
1818

1919
To "install" the binary we can run:

docs/relays/nostr-rs-relay/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ We're now going to discuss the nostr-rs-relay config file including how to set s
44

55
## Config File
66

7-
The nostr-rs-relay config file is located in the nostr-rs-relay repository we cloned and is named `config.toml`. In our case the file is located in the following directory `/tmp/nostr-rs-relay`.
7+
The nostr-rs-relay config file is located in the nostr-rs-relay repository we cloned and is named `config.toml`. In our case the file is located in the following directory `$HOME/nostr/relays/nostr-rs-relay`.
88

99
To view the settings you can open the file:
1010

1111
```bash
12-
nano /tmp/nostr-rs-relay/config.toml
12+
nano $HOME/nostr/relays/nostr-rs-relay/config.toml
1313
```
1414

1515
## Config Directory
@@ -23,7 +23,7 @@ mkdir /etc/nostr-rs-relay
2323
We can now copy the config file to the config directory:
2424

2525
```bash
26-
cp /tmp/nostr-rs-relay/config.toml /etc/nostr-rs-relay
26+
cp $HOME/nostr/relays/nostr-rs-relay/config.toml /etc/nostr-rs-relay
2727
```
2828

2929
We can change the permissions of the config directory and all of its content, i.e., the files and subdirectories inside of it:

docs/relays/nostr-rs-relay/install.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We're going to be "installing" the `nostr-rs-relay` binary to the `/usr/local/bi
1313
First, navigate to the directory where you installed the binary, e.g.,
1414

1515
```bash
16-
cd /tmp/nostr-rs-relay/target/release
16+
cd $HOME/nostr/relays/nostr-rs-relay/target/release
1717
```
1818

1919
To "install" nostr-rs-relay we can run:
@@ -41,7 +41,7 @@ Once the binary has been successfully compiled and installed, you can reclaim di
4141
To reclaim the disk space, first navigate to the directory where you downloaded the nostr-rs-relay repository, e.g.,
4242

4343
```bash
44-
cd /tmp/nostr-rs-relay
44+
cd $HOME/nostr/relays/nostr-rs-relay
4545
```
4646

4747
You can now clean the compilation artifacts by running:
@@ -50,8 +50,6 @@ You can now clean the compilation artifacts by running:
5050
cargo clean
5151
```
5252

53-
If you installed the repository in the `/tmp` directory, you don't have to manually clean the compilation artifacts since they'll be deleted when the relay is rebooted. However, if you want to reclaim that disk space before rebooting the relay you can run the commands above.
54-
5553
## Uninstall Compiler Tools
5654

5755
You can reclaim more disk space by removing the `.rustup` directory located in the `$HOME` directory:

docs/relays/strfry/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ strfry error: Unable to set NOFILES limit to 1000000, exceeds max of 524288
9999
Open the strfry config file:
100100

101101
```bash
102-
nano $HOME/strfry/strfry.conf
102+
nano $HOME/nostr/relays/strfry/strfry.conf
103103
```
104104

105105
Navigate to the line that says:

docs/relays/strfry/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ We're now going to discuss the strfry config file including how to set some of t
44

55
## Config File
66

7-
The strfry config file is located in the strfry repository we cloned and is named `strfry.conf`. In our case the file is located in the following directory `$HOME/strfry`.
7+
The strfry config file is located in the strfry repository we cloned and is named `strfry.conf`. In our case the file is located in the following directory `$HOME/nostr/relays/strfry`.
88

99
To view the settings you can open the file:
1010

1111
```bash
12-
nano $HOME/strfry/strfry.conf
12+
nano $HOME/nostr/relays/strfry/strfry.conf
1313
```
1414

1515
## Config Directory
@@ -23,7 +23,7 @@ mkdir /etc/strfry
2323
We can now copy the config file to the config directory:
2424

2525
```bash
26-
cp $HOME/strfry/strfry.conf /etc/strfry
26+
cp $HOME/nostr/relays/strfry/strfry.conf /etc/strfry
2727
```
2828

2929
We can change the permissions of the config directory and all of its content, i.e., the files and subdirectories inside of it:

docs/relays/strfry/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We're going to be "installing" the `strfry` binary to the `/usr/local/bin` direc
1313
First, navigate to the directory where you installed the binary, e.g.,
1414

1515
```bash
16-
cd $HOME/strfry
16+
cd $HOME/nostr/relays/strfry
1717
```
1818

1919
To "install" strfry we can run:

docs/relays/strfry/upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
To upgrade strfry navigate to the strfry repository, e.g.,
44

55
```bash
6-
cd $HOME/strfry
6+
cd $HOME/nostr/relays/strfry
77
```
88

99
Pull the changes:

docs/relays/strfry29/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ At the time of writing, the latest version of the relay29 library is `v0.4.0` wh
142142

143143
## Run Binary
144144

145-
Before we can run the strfry binary which uses the strfry config file, the strfry29 binary, and the `strfry29.json` file located in the `$HOME/relay29/strfry29` directory, we need to first create the strfry data directory specified in the strfry config file, i.e., `strfry-db`.
145+
Before we can run the strfry binary which uses the strfry config file, the strfry29 binary, and the `strfry29.json` file located in the `$HOME/nostr/relays/relay29/strfry29` directory, we need to first create the strfry data directory specified in the strfry config file, i.e., `strfry-db`.
146146

147147
To create the strfry data directory run:
148148

docs/relays/strfry29/configuration.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Along with the strfry config file, we also have a `strfry29.json` file. This fil
66

77
## Config File
88

9-
The strfry config file is located in the relay29 repository we cloned and is named `strfry.conf`. In our case the file is located in the following directory `$HOME/relay29/strfry29`.
9+
The strfry config file is located in the relay29 repository we cloned and is named `strfry.conf`. In our case the file is located in the following directory `$HOME/nostr/relays/relay29/strfry29`.
1010

1111
To view the settings you can open the file:
1212

1313
```bash
14-
nano $HOME/relay29/strfry29/strfry.conf
14+
nano $HOME/nostr/relays/relay29/strfry29/strfry.conf
1515
```
1616

1717
## Config Directory
@@ -25,7 +25,7 @@ mkdir /etc/strfry29
2525
We can now copy the config file to the config directory:
2626

2727
```bash
28-
cp $HOME/relay29/strfry29/strfry.conf /etc/strfry29
28+
cp $HOME/nostr/relays/relay29/strfry29/strfry.conf /etc/strfry29
2929
```
3030

3131
We can change the permissions of the config directory and all of its content, i.e., the files and subdirectories inside of it:
@@ -62,18 +62,18 @@ chown -R nostr:nostr /var/lib/strfry29
6262

6363
## strfry29.json File
6464

65-
The `strfry29.json` file is located in the relay29 repository we cloned. In our case the file is located in the following directory `$HOME/relay29/strfry29`.
65+
The `strfry29.json` file is located in the relay29 repository we cloned. In our case the file is located in the following directory `$HOME/nostr/relays/relay29/strfry29`.
6666

6767
To view the settings you can open the file:
6868

6969
```bash
70-
nano $HOME/relay29/strfry29/strfry29.json
70+
nano $HOME/nostr/relays/relay29/strfry29/strfry29.json
7171
```
7272

7373
We can now copy the `strfry29.json` file to the `/usr/local/bin` directory:
7474

7575
```bash
76-
cp $HOME/relay29/strfry29/strfry29.json /usr/local/bin
76+
cp $HOME/nostr/relays/relay29/strfry29/strfry29.json /usr/local/bin
7777
```
7878

7979
## Edit Config File

docs/relays/strfry29/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We're going to be "installing" the `strfry29` binary to the `/usr/local/bin` dir
1313
First, navigate to the directory where you installed the binary, e.g.,
1414

1515
```bash
16-
cd $HOME/relay29/strfry29
16+
cd $HOME/nostr/relays/relay29/strfry29
1717
```
1818

1919
To "install" the binary we can run:

docs/relays/wot-relay/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ mkdir -p /etc/wot-relay/templates
4545
We can now copy the `index.html` file to the `templates` directory:
4646

4747
```bash
48-
cp $HOME/wot-relay/templates/index.html /etc/wot-relay/templates
48+
cp $HOME/nostr/relays/wot-relay/templates/index.html /etc/wot-relay/templates
4949
```
5050

5151
Feel free to update the `index.html` file as you see fit.
@@ -55,7 +55,7 @@ Feel free to update the `index.html` file as you see fit.
5555
We can now copy the `static` directory and all of its content to the `templates` directory:
5656

5757
```bash
58-
cp -R $HOME/wot-relay/templates/static /etc/wot-relay/templates
58+
cp -R $HOME/nostr/relays/wot-relay/templates/static /etc/wot-relay/templates
5959
```
6060

6161
## /etc/wot-relay Permissions and Ownership

docs/relays/wot-relay/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We're going to be "installing" the `wot-relay` binary to the `/usr/local/bin` di
1313
First, navigate to the directory where you installed the binary, e.g.,
1414

1515
```bash
16-
cd $HOME/wot-relay
16+
cd $HOME/nostr/relays/wot-relay
1717
```
1818

1919
To "install" the binary we can run:

0 commit comments

Comments
 (0)