90613635fb
merge: updates from upstream
...
continuous-integration/drone/pr Build is passing
Conflicts:
.gitignore
lib/wabanex/application.ex
mix.lock
2024-09-22 19:06:02 +00:00
9be7566cbb
feat: execute service as distributed erlang ( #96 )
...
continuous-integration/drone/push Build is passing
To create a cluster with distributed nodes, the following changes were made:
* Use [`dns_cluster`][0] to execute distributed nodes
* Add _script_ to execute distributed nodes locally
Also, improve local execution by:
* Use [`mix release`][1] to make easier [deploy `phoenix`][2]
* Use [`compose watch`][3] to synchronize code from the host with the service
Some minor improvements:
* Ignore files and folders in git and docker
* Remove boilerplate comments
[0]: https://github.com/phoenixframework/dns_cluster
[1]: https://hexdocs.pm/mix/Mix.Tasks.Release.html
[2]: https://hexdocs.pm/phoenix/releases.html
[3]: https://docs.docker.com/compose/how-tos/file-watch/
Co-authored-by: Joao P Dubas <joao.dubas@gmail.com >
Reviewed-on: #96
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com >
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com >
2024-09-22 18:56:27 +00:00
902a22c947
chore(growth): fetch extended data for indicators
...
continuous-integration/drone/pr Build is passing
Also, improve module doc.
2024-06-06 22:49:52 +00:00
9c8e1d20ee
wip(growth): improve data parsing
...
1. Fetch common data for all indicators
2. Remove headers during merge
Also, re-generate files.
2024-06-04 23:55:03 +00:00
58f14c0346
wip(growth): fetch|extract|save indicators from WHO
...
Initial implementation to fetch growth indicators from WHO.
For now, the system merges the measurements for each gender and age
group in a single `csv` file.
The final solution should do this, saving a `dets` file.
2024-06-04 13:57:32 +00:00
e7df0322d7
Improve project usage ( #6 )
...
continuous-integration/drone/push Build is passing
1. Ignore unnecessary files, such as `pgcli` log/history, and extra `docker-compose` definitions.
2. Add `Makefile` with common tasks.
3. Add git pre-commit hook to ensure project is always properly formatted.
4. Add [`btree_gist`][0] extension to `postgres`.
Reviewed-on: #6
[0]: https://www.postgresql.org/docs/14/btree-gist.html
2022-04-23 17:15:16 +00:00
Joao P Dubas
a69b771847
[extra-01] training has a period validity
...
We move from start/end date to a period date range to represent the
interval where a training take place.
Besides that, new constraints are added to ensure a trainings of a user
can't overlap. These constraints reflect in changeset validation.
2021-06-28 00:31:36 +00:00
Joao P Dubas
58c4601203
[day-04] add exercise schema
...
So a training is a collection of exercises that have a description and a
protocol to be followed.
2021-06-26 17:26:14 +00:00
Joao P Dubas
ea5616addf
[day-04] add training schema
...
With this we can represent a traning program for a user.
2021-06-26 17:25:53 +00:00
Joao P Dubas
d578bc6cf3
[day-02] validate user input
...
Also improve migration to reflect requirements in validation done
through `Ecto.Changeset`.
2021-06-22 23:56:07 +00:00
Joao P Dubas
97af827bc2
[day-02] add user schema and migration
...
Add elixir struct to represent an user and its corresponding
representation on the database.
2021-06-22 23:55:02 +00:00
Joao P Dubas
8658384030
[day-01] phoenix project setup
...
Create new phoenix project
2021-06-22 01:55:16 +00:00
Joao P Dubas
f02c0ff310
[day-00] base infra for the project
2021-06-22 01:52:43 +00:00