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
|
setup: stop
|
||||||
@bash mobilizon/mobilizon/docker/message.sh "Compiling everything"
|
@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'
|
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:
|
migrate:
|
||||||
docker-compose run --rm mobilizon mix ecto.migrate
|
docker-compose run --rm mobilizon mix ecto.migrate
|
||||||
logs:
|
logs:
|
||||||
|
|
Loading…
Reference in a new issue