Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Effortless Delivery API

Dependencies

Go 1.9.1 Dep Docker

API SPEC

API Spec

Development

cd into /src/github/effortless-technologies clone repo:

$ cd $GOPATH/src/github/effortless-technologies
$ git clone git@github.com:effortless-technologies/el-connect-api.git

cd into project root and get dependencies:

$ cd el-connect-api
$ dep ensure

Build

Simple local build

cd into project and run:

$ cd <root/of/project>
$ go build -tags dev
$ ./elt-delivery

Now a server is runnning on localhost:1323:

$ curl http://localhost:1323

Containerized build via Docker

cd into project and run:

$ cd <root/of/project>
$ go run main.go

Now build the Docker image:

docker build -t <registry/cluster/image> .

Now run the Docker image:

docker run -i -t -p 1323:1323 <registry/cluster/image>

Now a server is runnning on localhost:1323:

$ curl http://localhost:1323

Testing

To run tests locally, use the following command

go test ./... -tags dev -v

Stage

Stage

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages