Commit Graph

14 Commits

Author SHA1 Message Date
setop 7030d56864 all developments of milestone 1 2024-04-10 12:36:21 +00:00
Thomas Citharel 08f80341c2
build(docker): change docker-compose to docker compose in Makefile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-04 15:20:17 +01:00
Thomas Citharel 8d11073965
build: only run ecto create & migrate & tz_world update on prepare_test task, not main test one
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-15 16:37:22 +01:00
Thomas Citharel 2e72f6faf4
build: switch from yarn to npm to manage js dependencies and move js contents to root
yarn v1 is being deprecated and starts to have some issues

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-14 17:24:42 +01:00
Mayel 5e64d0515e
format 2021-11-03 14:27:19 +01:00
Mayel f4736bd1b9
little things to setup & run tests (using docker) 2021-11-03 14:07:32 +01:00
Thomas Citharel 64c0e3c729
Update Makefile for Docker dev env
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-04 12:24:53 +02:00
Thomas Citharel 9e3df495dc
Move configuration to traditional way
️ This is the way.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-06 16:12:13 +01:00
JohanBaskovec 010f56acf2 Fix error when running `make` / `docker-compose up`
This fixes an error when running the mobilizon_api container (either
with `make` or `docker-compose up`): the command `mix phx.server`
was run first in the mobilizon_api container, but it
made the container restart every ~10 seconds because of missing
dependencies errors. As a result it became impossible to install
the depencies using
`docker-compose exec api sh -c "cd js && yarn install && cd ../"`,
because that would give this error:
`Error response from daemon: Container
8ff288ad74565bb0773f9b5f8fb39ab62925c16ea0ca77c5d2579cc3013a8464 is
restarting, wait until the container is running`.

This commit fixes this error by running the dependency installation
commands (and compilation and db migration) before `mix phx.server`.
2019-10-22 22:16:18 +02:00
Thomas Citharel 7b23ca6965
Improve docker setup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-16 11:12:42 +02:00
Armando Lüscher 2821e5f12a Documentation proofing 2019-05-19 11:38:09 +02:00
Vincent ff7fd460f0
add make test and Remove vue-cli serve 2019-04-30 13:56:07 +02:00
Vincent 43b23c46ed Add make test command 2019-04-18 09:52:39 +02:00
ty kayn 74ba3e0cb6 Add Makefile to setup things 2018-12-17 11:24:26 +01:00