Add a shortcut for compiling the Mobilizon backend only
This commit is contained in:
parent
e0fe72b002
commit
0999aeb1ba
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue