This repo is a PoC for the combination of the WebDAV Protokoll and an Angular Development Server inside of an dockerized environment.
This PoC is supposed to proof how WebDAV (using nginx) can be provided to host editable source code of an angular application, while a ng serve
Angular development server is running in the background to rerender all changes made over WebDAV
- Build the docker image
docker build --tag dustdevdm/webdavtest .
- start the container
docker run -p 80:80 -p 4200:4200 --name webdavtest dustdevdm/webdavtest
Simple! To see the angular application, open port 4200 of the maschine where the container is hosted in your browser.
You can use the WebDAV client of your choice to access the files. I prefer the WebDAV Workspace plugin for visual studio code. You can use the connect.code-workspace
file to use the extension after setting the right host.