mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-27 10:19:59 +00:00
9e3df495dc
⭐️ This is the way.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
18 lines
494 B
Makefile
18 lines
494 B
Makefile
init:
|
|
@bash docker/message.sh "start"
|
|
make start
|
|
|
|
start: stop
|
|
@bash docker/message.sh "starting Mobilizon with docker"
|
|
docker-compose up -d api
|
|
@bash docker/message.sh "Docker server started."
|
|
stop:
|
|
@bash docker/message.sh "stopping Mobilizon"
|
|
docker-compose down
|
|
@bash docker/message.sh "stopped"
|
|
test: stop
|
|
@bash docker/message.sh "Running tests"
|
|
docker-compose -f docker-compose.yml -f docker-compose.test.yml run api mix test
|
|
@bash docker/message.sh "Tests runned"
|
|
|
|
target: init
|