camino-school / lanttern

Lanttern project repo
MIT License
1 stars 1 forks source link

Lanttern

To start your Phoenix server:

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

.env expected variables

export GOOGLE_CLIENT_ID="********"
export ROOT_ADMIN_EMAIL="some.email@example.com"

Localization

We use Gettext for localization.

mix gettext.extract # to extract gettext() calls to .pot
mix gettext.merge priv/gettext # to update all locale-specific .po

Currently supported locales are en (default) and pt_BR.

git_hooks issue

We need to run mix git_hooks.install before commiting for the first time. See this issue

Deployment

We're currently running Lanttern on fly.io, connected to a managed Supabase Postgresql database, and we use GitHub Actions for automation.

The main secrets/env vars that we need for this are the following:

On GitHub

On fly.io

From Supabase

From Google

Others

Learn more