From edf4d6729b94258f8b404684703984b724c45c8f Mon Sep 17 00:00:00 2001 From: Jeremy Plsek Date: Tue, 17 Dec 2019 15:13:00 -0500 Subject: devel: use mounts for development This removes the need to rebuild the containers every time for simple changes during development. This does not include python dependencies since those are installed globally in the container. (I would have done the same for JS dependencies, but it's used in the static files.) Removed the background flag for running in dev mode when using make. It's easier to kill the servers (^C) and view logs of the server without needing to call separate commands later. Nginx is disabled in dev mode since the server and static files are handled by Django instead. Update readme to reflect upon changes made. Signed-off-by: Jeremy Plsek Change-Id: I7888ca89021fca313e1043a7f94b5e1b7e12498c --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0342381..eccb215 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ build: docker-compose -f docker-compose.yml -f docker-compose.override-dev.yml build dev-up: - docker-compose -f docker-compose.yml -f docker-compose.override-dev.yml up -d + docker-compose -f docker-compose.yml -f docker-compose.override-dev.yml up dev-start: docker-compose -f docker-compose.yml -f docker-compose.override-dev.yml start -- cgit 1.2.3-korg