šŸŽ‰

Version 2 of Kaneo is now available! Check out the changelog.

Kaneo Logo
Installation

Environment variables

The environment variables are used to configure the application.

Set up the file

The environment variables are used to configure the application. We will use a .env file to store the variables.

The variables are split up into the following sections:

Required variables

General URLs

This section will cover all the variables related to the general URLs.

NameDescription
KANEO_CLIENT_URLThe URL of the web application.
KANEO_API_URLThe URL of the API.

Database

This section will cover all the variables related to the database.

NameDescription
DATABASE_URLThe URL of the PostgreSQL database.
POSTGRES_DBThe name of the PostgreSQL database.
POSTGRES_USERThe username for the PostgreSQL database.
POSTGRES_PASSWORDThe password for the PostgreSQL database.

Authentication

This section will cover all the variables related to the authentication.

NameDescription
AUTH_SECRETThe secret key for the JWT token.

Optional variables

GitHub SSO & Integration

NameDescription
GITHUB_CLIENT_IDThe GitHub client ID.
GITHUB_CLIENT_SECRETThe GitHub client secret.
GITHUB_APP_IDThe GitHub app ID.
GITHUB_WEBHOOK_SECRETThe GitHub webhook secret.
GITHUB_PRIVATE_KEYThe GitHub private key.

Google SSO & Integration

NameDescription
GOOGLE_CLIENT_IDThe Google client ID.
GOOGLE_CLIENT_SECRETThe Google client secret.

SMTP Configuration

NameDescription
SMTP_HOSTThe SMTP host.
SMTP_PORTThe SMTP port.
SMTP_SECUREWhether to use SSL/TLS.
SMTP_USERThe SMTP user.
SMTP_PASSWORDThe SMTP password.
SMTP_FROMThe SMTP from address.

Key points

  • If you enable GitHub SSO, you need to set up the GitHub app which is used to authenticate users in the GitHub Developer Settings.
  • If you enable Google SSO, you need to set up the Google app which is used to authenticate users in the Google Cloud Console.
  • If you have enabled SMTP, your sign in will be done via email using a magic link.