Rust and Iron (Rust Async Web Toolkit) and Docker REST Service
At root of the project (actix-rust-static-restsvc directory), run:
cargo clean
and **cargo run
**
And go to: http:\\localhost:8080
This will show the static resource index.html
page.
The REST API routes off of `http://localhost:8080/ are as follows:
At root of the project ('actix-rust-static-restsvc' directory), run:
docker build -t actix-rust-static-restsvc:1.0 -f NoCache.Dockerfile
To execute the provided shell script to build the Docker container image, run:
sh docker-kr8.sh
.
docker run --name actix-rust-static-restsvc -p 8080:8080 actix-rust-static-restsvc:1.0