Skip to content

daxinc/cowsayweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cowsay

A simple function prints out quote as if it is said by a cow.

Compile

  • Mac: make osx
  • Linux: make linux
  • Windows: make windows

Compile files are located in dist folder.

URLs

E.g.:

 ________________________________
< Rome was not built in one day. >
 --------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Build Image

Run

  • CGO_ENABLED=0 GOOS=linux go build -mod vendor -a -installsuffix cgo -o cowsayweb .
  • docker build -t cowsay .
  • docker run -d -p 8080:8080 cowsay
  • Open http://localhost:8080

Stop

  • docker ps
  • docker stop CONTAINTER_ID

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published