Skip to content
You are reading the HappyView v2 docs, which are no longer updated. Read the v3 docs.

Railway

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:

SQLitePostgreSQL
Deploy on RailwayDeploy on Railway

After deploying the template, you’ll need to configure a few things before the stack works properly:

  1. Set your session secret. In the HappyView service variables, set SESSION_SECRET to a random string of at least 64 characters. This is used to sign session cookies.

    Terminal window
    openssl rand -base64 48
  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.

    Terminal window
    openssl rand -base64 32
  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).

  4. Access your HappyView dashboard at the instance’s public URL. The first user to log in is automatically bootstrapped as the super user.