Giter VIP home page Giter VIP logo

memoet's Introduction

Memoet

Memoet CI

Play quizzes & review flashcards to memorize everything using spaced repetition method

User guide

See memoet.gitbook.io.

Developer guide

  1. Install asdf

Follow instructions here.

  1. Install Rust

Follow instructions here.

  1. Install erlang, elixir and nodejs
asdf install
  1. Install project dependencies
mix deps.get
(cd assets && npm i)
  1. Migrate database & start server
mix ecto.setup
mix phx.server

Now you can visit localhost:4000 from your browser.

Deployment

Environment

  • Basic setup:
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
  • For your custom domain:
Environment Example
URL_HOST memoet.com
URL_PORT 443
URL_SCHEMA https
  • For uploading images to S3:
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
  • Extra configuration:
Environment Why?
SENDINBLUE_API_KEY For password recovery email
SENTRY_DSN For error logging

memoet's People

Contributors

manhtai avatar axelson avatar ayasechan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.