Flake to setup a local env for atproto development

Add pre to the top

edouard.paris 863780d1 18e40f14

verified
Changed files
+13 -13
+13 -13
README.md
···
A Nix-based development environment for running AT Protocol services (PDS, PLC, Caddy proxy, and MailHog).
+
## Prerequisites
+
+
Make sure to add these lines to your `/etc/hosts` file:
+
```
+
127.0.0.1 pds.example.org
+
127.0.0.1 plc.example.org
+
```
+
+
Generate SSL certificates before first use:
+
```bash
+
nix run .#generate-certs
+
```
+
## Quick Start
1. **Enter the development environment:**
···
- `tmux attach -t atproto` - Attach to the services session
- `tmux kill-session -t atproto` - Stop all services
- `nix run .#generate-certs` - Generate SSL certificates
-
-
## Prerequisites
-
-
Make sure to add these lines to your `/etc/hosts` file:
-
```
-
127.0.0.1 pds.example.org
-
127.0.0.1 plc.example.org
-
```
-
-
Generate SSL certificates before first use:
-
```bash
-
nix run .#generate-certs
-
```