this post was submitted on 18 Jun 2023
3 points (100.0% liked)

Lemmy

12511 readers
51 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to [email protected].

founded 4 years ago
MODERATORS
 

I am wanting to test things and contribute back to lemmy's codebase, and to do that I want to run an instance

I have had no issue setting up an instance, but I want to make sure the things I test / change are not going to cause issues for the fediverse

For example, if I federate a remote instance and then wipe my DB (while keeping the same URL), will that other instance be able to handle the change?

Is there a best practice for this that I should follow?

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 2 points 1 year ago

In the source code of LemmyNet/lemmy there is a docker-compose file for setting up multiple instances trough docker that can federate with each other. That is a better practice then federating with other pruduction instances.

https://github.com/LemmyNet/lemmy/blob/main/docker/federation/docker-compose.yml

[โ€“] [email protected] 1 points 1 year ago

Yes, there should be no problem. You'll only have a problem if you post an image somewhere and then take the instance down, because images are hosted on the instance of the submitter.

But don't worry, you don't break anything by destroying a test instance.