- Clone the repository -
git clone https://github.com/pkwarc/deviation-rest
cd ./deviation-rest
- (Optionally) run tests -
go test ./...
- Set a port number -
export STD_DEV_PORT=7777
- Build the image and run the container -
docker build --tag deviation-rest:latest . && docker run -p $STD_DEV_PORT:$STD_DEV_PORT -e STD_DEV_PORT=$STD_DEV_PORT deviation-rest:latest
- The api random mean endpoint should be available at http://localhost:7777/random/mean?requests=10&length=10
-
Notifications
You must be signed in to change notification settings - Fork 0
pkwarc/deviation-rest
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published