I may be old and my beard is grey, but I’m used to having everything I need for development on my own box, behind my own firewall (and yes, I do have a server rack in my basement
). And I don’t know how to do that. I forked the PDS repo, but the installer script enforces no non-public IPs, so it seems that this is not how people are developing nowadays…
So, how are people running infrastructure that you can freely mess with as you please?
3 Likes
Hey Kjetil,
I’ve been using the setup that @ngerakines.me made for @smokesignal.events: smokesignal.events/localdev at main · tangled
localdev is built primarily for app dev, and lets you stand up a PLC and a pair of PDSes inside a little private network within Tailscale.
5 Likes
would make for a good Wiki resource page!
1 Like
I had a full bsky ATproto stack running locally including relay, pds, appview and plc.
The compose file is based off zeppelin, I’ll double check it but ideally you have the it split across machines as the relay and indexer are rather hungry.
1 Like
You may want to look into the work we are doing at Eurosky (e.g. GitHub - eurosky-social/eurosky-social ).
1 Like
Thanks a lot for the replies, and sorry for not following up. Real life intervened.
Yeah, so it makes sense for me to build on Eurosky, @schuman.de and I have gotten it cloned, but what’s the next step from there to get it running locally?
So, specifically, when I clone that repo, @schuman.de , quite a lot of the submodule repos come out empty… Including u-at-proto. I have had a long dev hiatus, so I haven’t worked with submodules with git before, actually. I think I’ll check out u-at-proto separately, and see if I can get that up.
Sub-modules are … not widely used in practice because everyone I know has been burned by them. You might just want to try Nick’s Localdev instead.
2 Likes
Right, I think I’m getting forward with localdev now. But…
I’m note sure what role Tailscale plays here. I wanted a completely local dev environment, but through tailscale, it seems that I rely on an outside service that I can’t control and which is also opening a NAT traversal into my network, which also not a good thing… So, we don’t have any setups that do not require that?
Tailscale is a commercial company that uses the open source wireguard VPN to make a full private network where you have control over DNS. You’re simulating the Internet and Tailscale makes that work.
These are the two local dev packages we know of right now.
OK. I shouldn’t need a VPN for development purpose, I already have control of DNS in my private network, but I guess I just need to go with it.