Merge branch 'update-docker-makefile' into 'master'
Update Makefile for Docker dev env See merge request framasoft/mobilizon!1013
This commit is contained in:
commit
cc9f52f459
7
Makefile
7
Makefile
@ -2,6 +2,13 @@ init:
|
||||
@bash docker/message.sh "start"
|
||||
make start
|
||||
|
||||
setup: stop
|
||||
@bash docker/message.sh "Compiling everything"
|
||||
docker-compose run --rm api bash -c 'mix deps.get; yarn --cwd "js"; yarn --cwd "js" build:pictures; mix ecto.create; mix ecto.migrate'
|
||||
migrate:
|
||||
docker-compose run --rm api mix ecto.migrate
|
||||
logs:
|
||||
docker-compose logs -f
|
||||
start: stop
|
||||
@bash docker/message.sh "starting Mobilizon with docker"
|
||||
docker-compose up -d api
|
||||
|
Loading…
Reference in New Issue
Block a user