项目作者: jshmrtn

项目描述 :
COVID-19 Tracing
高级语言: Elixir
项目地址: git://github.com/jshmrtn/hygeia.git
创建时间: 2021-03-26T20:04:24Z
项目社区:https://github.com/jshmrtn/hygeia

开源协议:Other

下载


Hygeia

.github/workflows/branch_main.yml
Coverage Status
License
Last Updated

Development

To start your Phoenix server:

  • Install wkhtmltopdf
  • Install poppler-utils (brew install poppler, apt-get install poppler-utils, apk add poppler-utils)
  • Install Elixir / Node / Erlang using asdf as specified in .tool-versions
  • Start Database
  1. $ docker volume create postgres
  2. $ docker run \
  3. --restart always \
  4. --name postgres \
  5. -v postgres:/var/lib/postgresql/data \
  6. -p 5432:5432 \
  7. -d \
  8. -e POSTGRES_PASSWORD="" \
  9. -e POSTGRES_USER="root" \
  10. -e POSTGRES_HOST_AUTH_METHOD="trust" \
  11. postgres:latest
  • Install dependencies with mix deps.get
  • Create Local .env file
  • Load Local .env file
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with npm install inside the assets directory
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Translation

Extract all translation strings to create *.pot-files:

  1. mix gettext.extract

Then merge those into the localized *.po-files:

  1. mix gettext.merge priv/gettext

You can now edit the translations using Poedit or similar software.

Environment Variables

See .env.example

Talks

Code BEAM V Europe 2021

COVID-19 contact tracing on the BEAM - Jonatan Männchen; Jeremy "Jay" Zahner | Code BEAM V Europe