updating readme with deployment info #2

Merged
brookechr merged 3 commits from strawberry/readme-deployment-info-update into main 2025-10-17 04:23:00 +00:00

View File

@ -68,12 +68,58 @@ At [our co-op cloud's packages site](https://git.coopcloud.tech/RTM/-/packages),
## Update recipe
We use a [private recipe](https://git.coopcloud.tech/RTM/rtm-astro-recipe) to deploy this website, you will need to update the version in the compose.yml file and redoploy. This step needs wireguard to be activated.
We use a [private recipe](https://git.coopcloud.tech/RTM/rtm-astro-recipe) to deploy this website. This step needs Wireguard to be activated (download Wireguard and ask Sootie's owner to create a config for you and give you Docker permissions). The following examples will assume your name in Sootie's config is "blueberry"!
brookechr marked this conversation as resolved Outdated

.. download Wireguard ask Sootie's ...

nit: should be "and ask"

> .. download Wireguard ask Sootie's ... nit: should be "and ask"
You will need to have wget (`brew install wget` on mac) and [abra](https://docs.coopcloud.tech/abra/) installed.
Create an SSH key to use with Sootie with the following command. Take note of the file where you save the key. The following examples will assume it is saved to `rtm` and that the `.ssh` directory is in your home directory (which you can find with the command `echo $HOME`).

the .ssh directory is within Users/blueberrys-machine/

I propose we say "the .ssh directory is in your home directory (echo $HOME)"

> the `.ssh` directory is within `Users/blueberrys-machine/` I propose we say "the `.ssh` directory is in your home directory (`echo $HOME`)"
```ssh-keygen -t ed25519```
Run the following commands to install the SSH key to Sootie as an authorized key:
First update the version number in
```
ssh-copy-id -i $HOME/.ssh/rtm.pub blueberry@resisttechmonopolies.online
brookechr marked this conversation as resolved Outdated

can be somethings like: ssh-copy-id -i $HOME/.ssh/rtm.pub blueberry@resisttechmonopolies.online

Also adding a note to replace blueberry with the reader's Sootie's username would also be helpful

can be somethings like: `ssh-copy-id -i $HOME/.ssh/rtm.pub blueberry@resisttechmonopolies.online` Also adding a note to replace `blueberry` with the reader's Sootie's username would also be helpful
ssh -i $HOME/.ssh/rtm 'blueberry@resisttechmonopolies.online'
```
In the `$HOME/.ssh/config` file (which you may have to create if it does not exist), paste the following:
brookechr marked this conversation as resolved Outdated

just make sure to replace all occurences of Users/blueberrys-machine with $HOME lol

just make sure to replace all occurences of `Users/blueberrys-machine` with `$HOME` lol
```
Host resisttechmonopolies.online
Hostname resisttechmonopolies.online
User blueberry
UseKeychain yes
IdentityFile ~/.ssh/rtm
```
You should now be able to SSH into Sootie with just the command `ssh resisttechmonopolies.online`
Run the following command (outside of the terminal in which you ran ssh in the previous step)
```abra server add resisttechmonopolies.online```
Clone the `sootie-config` repo into your `$HOME/.abra/servers/resisttechmonopolies.online` directory:
``` bash
git clone https://git.coopcloud.tech/RTM/sootie-config.git .
# DON'T FORGET THE . AT THE END OF THE COMMAND
```
Clone the `rtm-astro-recipe` repo into your `$HOME/.abra/recipes` directory:
```git clone https://git.coopcloud.tech/RTM/rtm-astro-recipe.git```
Update the version number to the latest in
``` bash
.abra/servers/resisttechmonopolies.online/resisttechmonopolies.online.env
```
Then
``` bash
abra app undeploy resisttechmonopolies.online