A self-hosted spaced repetition software
Play quizzes & review flashcards to memorize everything using spaced repetition method
See memoet.gitbook.io.
asdf
Follow instructions here.
Rust
Follow instructions here.
erlang
, elixir
and nodejs
asdf install
mix deps.get
(cd assets && npm i)
mix ecto.setup
mix phx.server
Now you can visit localhost:4000
from your browser.
Docker: docker-compose.yml.
Ubuntu: ubuntu.sh
Heroku: heroku.sh
Environment | Required? | Why? |
---|---|---|
SECRET_KEY_BASE |
Yes | For cookies encryption, can be generate with openssl rand -hex 48 |
DATABASE_URL |
Yes | For saving stuffs, only Postgres is supported for now |
DATABASE_SSL |
No | |
DATABASE_CERT |
No | |
DATABASE_IPV6 |
No | For database conn with IP v6 |
Environment | Example |
---|---|
URL_HOST |
memoet.com |
URL_PORT |
443 |
URL_SCHEMA |
https |
Environment | Example |
---|---|
AWS_BUCKET_NAME |
cdn.memoet.com |
AWS_ACCESS_KEY_ID |
xxxxxxxxxxxxxxxx |
AWS_SECRET_ACCESS_KEY |
xxxxxxxxxxxxxxxx |
AWS_REGION |
us-east-1 |
AWS_ASSET_HOST |
https://cdn.memoet.com |
Environment | Why? |
---|---|
SENDINBLUE_API_KEY |
For password recovery email |
SENTRY_DSN |
For error logging |