readme updates for tailscale #14

Merged
ammaratef45 merged 3 commits from strawberry/tailscale-readme-updates into main 2026-07-22 03:21:03 +00:00
+21 -15
View File
@@ -46,12 +46,12 @@ npx astro dev
# To release a new version
## Build in the docker image (make sure you have Docker installed!)
## Build the Docker image (this requires having [Docker](https://docs.docker.com/engine/install/) installed!)
Set the version to the next [semantic version](https://semver.org/) after the version posted at [our co-op cloud's packages site](https://git.coopcloud.tech/RTM/-/packages) under "rtmwebsite":
``` bash
version=<specify-version>
version=<specify-version> # example: if the semantic version you see for "rtmwebsite" is 0.0.1, then put version=0.0.2 here since we want to deploy the next version
docker build --platform linux/amd64 -t git.coopcloud.tech/rtm/rtmwebsite:$version .
```
@@ -68,7 +68,11 @@ 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. 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"!
### One-time Setup
We use a [private recipe](https://git.coopcloud.tech/RTM/rtm-astro-recipe) to deploy this website. This step needs Tailscale to be activated. Follow our [Fleet Setup and Access Instructions](https://nextcloud.resisttechmonopolies.online/apps/collectives/RTM-Reference-2/Fleet-Setup-and-access-12904) and get set up on Laylotta.
The following examples will assume your name in Sootie's config is "blueberry"!
You will need to have wget (`brew install wget` on mac) and [abra](https://docs.coopcloud.tech/abra/) installed.
@@ -76,7 +80,6 @@ Create an SSH key to use with Sootie with the following command. Take note of th
```ssh-keygen -t ed25519```
Run the following commands to install the SSH key to Sootie as an authorized key:
```
@@ -84,7 +87,6 @@ ssh-copy-id -i $HOME/.ssh/rtm.pub blueberry@resisttechmonopolies.online
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:
```
@@ -97,32 +99,36 @@ Host resisttechmonopolies.online
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)
Run the following command (OUTSIDE of the terminal in which you ran ssh in the previous step)
```abra server add resisttechmonopolies.online```
Outdated
Review

"into your $HOME/.abra/servers/resisttechmonopolies.online directory" is no longer necessary

"into your `$HOME/.abra/servers/resisttechmonopolies.online` directory" is no longer necessary
Clone the `sootie-config` repo into your `$HOME/.abra/servers/resisttechmonopolies.online` directory:
Clone the `rtm-config` repo:
``` bash
Review

we actually can remove the dot now since it doesn't matter where we clone this repo cause we have the abra.yml file in the repo's root directory now

we actually can remove the dot now since it doesn't matter where we clone this repo cause we have the `abra.yml` file in the repo's root directory now
git clone https://git.coopcloud.tech/RTM/sootie-config.git .
# DON'T FORGET THE . AT THE END OF THE COMMAND
git clone https://git.coopcloud.tech/RTM/rtm-config.git
```
Clone the `rtm-astro-recipe` repo into your `$HOME/.abra/recipes` directory:
```git clone https://git.coopcloud.tech/RTM/rtm-astro-recipe.git```
### Every time you deploy
Update the version number to the latest in
Make sure you are connected to Laylotta on Tailscale.
Update the version number to the latest (the one that you pushed to the Gitea registry previously) in
``` bash
.abra/servers/resisttechmonopolies.online/resisttechmonopolies.online.env
rtm-config/abra/servers/laylotta.resisttechmonopolies.online/resisttechmonopolies.online.env
```
Then
Then make sure you are in the rtm-config directory and run the following commands:
``` bash
abra app undeploy resisttechmonopolies.online
# wait 10 seconds
# verify that there is a 404 page at https://resisttechmonopolies.online/
abra app deploy resisttechmonopolies.online
```
# verify that the new version is present at https://resisttechmonopolies.online/
```