this post was submitted on 06 Sep 2023
3 points (100.0% liked)

/kbin meta

6 readers
1 users here now

Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign

founded 2 years ago
 

I haven't been able to find an answer for this, so I'm hoping asking this here would be appropriate.

I'd like to try my hand at some development of Kbin but I don't exactly know how to test a web application of this scale. Obviously, the roadblock for me is understanding how to develop and test features without having a dedicated domain name -- as my understanding is that federated services heavily rely on the use of a domain name. This also would imply that the server has to be exposed to the internet, much like development of a email client.

But obviously I must be missing something here. Is there any recommended guidelines for setting up a development environment for Kbin? Ideally, a containerized approach via Docker or Podman would be ideal as I wouldn't want to muck with my host system. Additionally, is it possible to use hostnames in order to simulate and test federation capabilities? Lastly, are there any thorough reads (blogs or forum posts) that go in depth with developing federated web applications and how the development process differs from standard webdev?

you are viewing a single comment's thread
view the rest of the comments
[–] e569668@fedia.io 3 points 1 year ago

I believe you should be able to run it all locally without a hostname. The guides for doing so are here, depending on how you want to:
https://codeberg.org/Kbin/kbin-core/wiki/Admin-Bare-Metal-Guide
https://codeberg.org/Kbin/kbin-core/wiki/Admin-Docker-Guide

Someone just went through this themselves in the matrix kbin development channel so you could also potentially find help there if you're having issues. One thing that came up during that is https://codeberg.org/Kbin/kbin-core/pulls/132 has a bunch of changes to those docs which might make it easier