1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

start documentation of production use

This commit is contained in:
Sonja Happ 2020-07-02 09:29:51 +02:00
parent 8ec6248347
commit b31f0a571d

18
doc/Production.md Normal file
View file

@ -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`