Jump to content

Relays: Difference between revisions

1,041 bytes removed ,  2 years ago
m
Line 78: Line 78:
== How to install your own Fediverse relay for beginners ==
== How to install your own Fediverse relay for beginners ==


I'm going to write a guide on how to install Activity-Relay for beginners, but first I have to manage to install it myself.<br>
To be written.
Here is how far I've come
 
==== Create a server ====
 
To be written
 
==== Log in to your server ====
 
To be written
 
==== Install dependencies ====
 
Dependencies are apps you need to install before you can install the app you want.
 
# sudo apt update
# sudo apt install vim
# sudo apt install git
# sudo apt install docker
# sudo apt install docker-compose
# sudo apt install docker.io
# sudo apt install golang
# sudo apt install apparmor
 
==== Install the relay with docker ====
 
Now you need to copy the app to your server
 
# git clone https://github.com/yukimochi/Activity-Relay.git -b v1.0.0
# vim config.yml
## make the file look like [https://github.com/yukimochi/Activity-Relay#yaml-format this].
# openssl genrsa | tee actor.pem
# chmod 600 actor.pem
# cd /root/Activity-Relay
# docker-compose build
## this will take a while and lots of red text will appear. Don't worry.
# docker-compose up -d
# docker-compose down