From 9d155d171e916cd3c2c34f6c50955745f8929e79 Mon Sep 17 00:00:00 2001 From: JF Date: Tue, 2 Jul 2019 13:22:33 -0700 Subject: added a docker dev environment Signed-off-by: Jan Friedli --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 2e01c14..0ee91ac 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,12 @@ collector cronjob to remove leftover files. Besides, it can create a the uploads folder, to ensure that the uploaded files won't be recoverable between reboots. +# Development +Install docker and docker-compose and then run `docker-compose up` to setup +the docker dev environment. Mat2-web is now accessible on your host machine at `localhost:5000`. +Every code change triggers a restart of the app. +If you want to add/remove dependencies you have to rebuild the container. + # Custom templates You can override the default templates from `templates/` by putting replacements -- cgit v1.3