A lexicon-driven AppView for ATProto. happyview.dev
backfill firehose jetstream atproto appview oauth lexicon
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: fix the opening paragraph for Railway and add details about the mising `TOKEN_ENCRYPTION_KEY`

Trezy 2ad864d4 bb7e0cee

+9 -3
+9 -3
packages/docs/docs/getting-started/deployment/railway.md
··· 1 1 # Deploy on Railway 2 2 3 - The fastest way to get HappyView running is with Railway. This template deploys HappyView and Postgres with a single click: 3 + The fastest way to get HappyView running is with Railway. Choose the database you want and these templates will deploy HappyView with a single click: 4 4 5 5 | SQLite | PostgreSQL | 6 6 | --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ··· 16 16 openssl rand -base64 48 17 17 ``` 18 18 19 - 2. **Assign a public domain.** In the Railway dashboard, add a public domain to the HappyView service. The service needs a publicly accessible URL for OAuth callbacks. Set `PUBLIC_URL` to this domain (e.g. `https://happyview-production.up.railway.app`). 19 + 2. **Set your token encryption secret.** In the HappyView service variables, `TOKEN_ENCRYPTION_KEY` must be a Base64-encoded 32-byte key. This is used for encrypting plugin secrets and DPoP private keys at rest. 20 + 21 + ```sh 22 + openssl rand -base64 32 23 + ``` 24 + 25 + 3. **Assign a public domain.** In the Railway dashboard, add a public domain to the HappyView service. The service needs a publicly accessible URL for OAuth callbacks. Set `PUBLIC_URL` to this domain (e.g. `https://happyview-production.up.railway.app`). 20 26 :::note 21 27 Your instance can use a custom domain or Railway's generated URL with no additional configuration. 22 28 ::: 23 29 24 - 3. Access your HappyView dashboard at the instance's public URL. The first user to log in is automatically bootstrapped as the super user. 30 + 4. Access your HappyView dashboard at the instance's public URL. The first user to log in is automatically bootstrapped as the super user. 25 31 26 32 ## Next steps 27 33