This repo will act as the backend for trotter. All api will be maintained here
- Set the environment variables
PORT_TROTTERto what ever port desired. We typically use 3002.
- This link https://www.computerhope.com/issues/ch000549.htm#windows10 shows you how to do it in windows
go run main.go
API we are using to get Country Info
https://www.triposo.com/api/console/20180627 login: asqwrd@gmail.com pw: trotter@world
http://apidocsv2.joinsherpa.com/ API access: { "key": "nIXaxALFPV0IiwNOvBEBrDCNSw3SCv67R4UEvD9r", "username": "VDLQLCbMmugvsOEtihQ9kfc6nQoeGd" }
docker run -d --name watchtower -e REPO_USER=$DOCKER_USERNAME -e REPO_PASS=$DOCKER_PASSWORD -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower trotter-api --debug --interval 30
docker run -p 3002:3002 -dit --restart unless-stopped --name trotter-api asqwrd/trotter-api