HaloWordApp / halosir

Halo Word, the server. Reimagined with Elixir.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HaloSir

Build Status

HaloSir is the new server for Halo Word, the English -> Chinese dictionary as an extension for Google Chrome.

HaloSir is based on Elixir/Phoenix, and use DETS from Erlang/OTP as storage instead of Redis. The main reason is Redis is consuming too much memory and we don't need that speed of an in-memory database. This is also a good practice ground of developing and maintaining a full Elixir app/service.

Deployment

The OTP release building process is automated through CircleCI. Output tarballs are stored here.

To deploy HaloSir, just:

  • Extract the tarball
  • Put runtime configs under {tarball root}/config/secret.exs, which should replace secret keys and any other production settings
  • Put existing cache under {tarball root}/data if exist

About

Halo Word, the server. Reimagined with Elixir.


Languages

Language:Elixir 97.1%Language:Shell 2.1%Language:Dockerfile 0.7%