It's a golang web app that takes a block of text and turns it into a word cloud. Star this repo if you like the class!
This project is a a sample app for a class on Continuous Delivery at LinkedIn Learning. You can see the class as well as other classes I have available at https://www.linkedin.com/learning/instructors/james-wickett. Thanks!
- Install go - https://golang.org/doc/install (Start learning go with the tour - http://tour.golang.org/)
- Set $GOPATH
export GOPATH="${HOME}/go"
- Set $PATH
export PATH=$PATH:$(go env GOPATH)/bin
- Install goconvey -
go get github.com/smartystreets/goconvey
We use git hooks to standardize development on the project. Please run make git-hooks
to get started.
This will pull down dependencies, run unit tests, and compile a linux, mac and windows binary into ./artifacts.
make
You can build and install a copy in your local $GOPATH/bin directory with:
make install
make clean
make lint
make test
make goconvey-install
make goconvey
make run
or just run the executable. It will run as a daemon and bind to port 8888, and you can see it by going to http://localhost:8888 in your browser.
$ curl -H "Content-Type: application/json" -d '{"text":"ths is a really really really important thing this is"}' http://localhost:8888/api
Use this setup
aws_access_key_id = AKIAIOSFODNN7EXAMPLE aws_secret_access_key = wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY