Add a shortcut for compiling the Mobilizon backend only

This commit is contained in:
André Menrath 2023-12-19 15:54:07 +01:00
parent e0fe72b002
commit 0999aeb1ba

View file

@ -5,6 +5,9 @@ init:
setup: stop
@bash mobilizon/mobilizon/docker/message.sh "Compiling everything"
docker-compose run --rm mobilizon bash -c 'mix deps.get; npm ci; npm run build:pictures; mix ecto.create; mix ecto.migrate'
build: stop
@bash mobilizon/mobilizon/docker/message.sh "Compiling backend"
docker-compose run --rm mobilizon bash -c 'mix ecto.create'
migrate:
docker-compose run --rm mobilizon mix ecto.migrate
logs: