https://github.com/eficode-academy/go-roman
A roman numerals conversion web service, written in golang
https://github.com/eficode-academy/go-roman
Last synced: about 4 hours ago
JSON representation
A roman numerals conversion web service, written in golang
- Host: GitHub
- URL: https://github.com/eficode-academy/go-roman
- Owner: eficode-academy
- Created: 2016-09-13T08:52:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-22T13:43:57.000Z (over 8 years ago)
- Last Synced: 2025-04-07T08:37:41.313Z (26 days ago)
- Language: Groovy
- Size: 28.3 KB
- Stars: 0
- Watchers: 4
- Forks: 50
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Run the follwing command to run the simple web server:
$ go run http.go
Testing...
Open browser and goto http://localhost:8000Replace localhost with the name or IP of your DockerHost.
## Run with docker
Build the image:
docker build -t myapp .
Test that you can run it:
docker run -d -p 8000:8000 --name myapp myapp:latest
curl $(docker-machine ip code):8000## Test Driven Development
Here's how to run the test suite:
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.6 go test -v
## Test webhook