diff --git a/README.md b/README.md index 1a29981..a53c5c1 100644 --- a/README.md +++ b/README.md @@ -44,8 +44,16 @@ TODO ## Development 1. Install [Deno](https://deno.land). -2. Clone this repo. -3. Run `deno task dev` +2. Install [nak](https://github.com/fiatjaf/nak). +3. Clone this repo. +4. Download [Soapbox](https://dl.soapbox.pub/) or another web-based Mastodon client of your choice. +5. Put the frontend files inside the `public` directory. +6. If you decided to use [Soapbox](https://dl.soapbox.pub/), remove the `meta http-equiv="content-security-policy"` from the `index.html` file. +7. If you decided to use [Soapbox](https://dl.soapbox.pub/), rename the `soapbox.example.json` inside the `public/instance` directory to `soapbox.json` +8. Create an `.env` file. +9. Define `DITTO_REGISTRATIONS=true` in your .env file. +10. Define `DITTO_NSEC=` in your .env file. The \ can be obtained with `nak key generate | nak encode nsec`. +11. Run `deno task dev` ## License