Developer Guide || Local Development Web Server - SVF-tools/WebSVF GitHub Wiki
Running a Local Development Web Server
To debug code and run tests, it is often useful to have a local HTTP server. For the purpose of further deploying the project on AWS, we have made available a local web server with a dockerized code-server.
- Generate a local Docker Image
a. Build from Dockerfile in the root directory
b. Download from DockerHubdocker build -t winoooops/websvf-docker .
sudo docker pull winoooops/websvf-docker
- Verify the Docker Image exists locally
# You should see the local repository named winoooops/websvf-docker . docker images -a
- To start the web server, run
docker run -p 8080:8080 --name websvf winoooops/websvf-docker
- To access the local server, enter the following URL into your web browser:
http://0.0.0.0:8080