mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
Update Makefile for Docker dev env
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
b45d407cc1
commit
64c0e3c729
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -2,6 +2,13 @@ init:
|
||||||
@bash docker/message.sh "start"
|
@bash docker/message.sh "start"
|
||||||
make 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
|
start: stop
|
||||||
@bash docker/message.sh "starting Mobilizon with docker"
|
@bash docker/message.sh "starting Mobilizon with docker"
|
||||||
docker-compose up -d api
|
docker-compose up -d api
|
||||||
|
|
Loading…
Reference in a new issue