From b31f0a571d08cfc0b5a63e48fd2b0e49b0246f86 Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Thu, 2 Jul 2020 09:29:51 +0200 Subject: [PATCH] start documentation of production use --- doc/Production.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/Production.md diff --git a/doc/Production.md b/doc/Production.md new file mode 100644 index 0000000..fe38b4c --- /dev/null +++ b/doc/Production.md @@ -0,0 +1,18 @@ +# Production Setup {#web-production} + +For development setup instructions see @ref web-development. +The production setup is based on docker. +Clone the [frontend](https://git.rwth-aachen.de/acs/public/villas/web) and [backend](https://git.rwth-aachen.de/acs/public/villas/web-backend-go) repositories on your computer and build the Docker images for both: + +#### Frontend + - `cd VILLASweb` + - `docker build -t villasweb-frontend .` + +#### Backend + - `cd ..\VILLASweb-backend-go` + - `docker build -t villasweb-backend .` + +#### TODO Docker compose and/or Kubernetes +Run the production docker-compose file: + - `docker-compose -f docker-compose-production.yml up -d` +