A networked note-taking app which is open and self-hosting, inspired by roam-research and others.
- typical rails environment, plus
postgresql
andredis
.
The app loads environment variables and behaves accordingly. It uses dotenv to loads values from files (e.g. .env
, .env.development.local
, .env.production
). Platforms like heroku also allow you to set env variables in the configuration panel.
The app loads password from ENV['PASSWORD']
, which is password
by default, as defined in .env
.
To enable performance analytics by skylight, set environment vars SKYLIGHT_ENABLED=true
and SKYLIGHT_AUTHENTICATION=YOUR_TOKEN
.
To enable sentry for error tracking, set an environment var SENTRY_DSN=YOUR_SENTRY_DSN
.
For security reasons (i.e. deploy this repo directly), secret_key_base
will be randomized every time the server restarts, that includes upgrading to a new version. User may have to do a refresh in browser.