All Projects → nicholasjackson → minke

nicholasjackson / minke

Licence: MIT License
Tools for building Microservices with Docker

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Minke

Stories Ready: Stories in Ready
Test Coverage: Test Coverage
Build Status: Build Status Codeship Status for nicholasjackson/minke
Chat: Join the chat at https://gitter.im/nicholasjackson/minke
Ruby Doc: http://www.rubydoc.info/gems/minke/1.13.19/index

Documentation and Tutorial

https://minke.rocks/index.html

Quick Start

Minke is an opinionated build system for μServices and Docker, it uses generator templates to create working source code, Dockerfiles, and anything else you may need to build and deploy a working microservice.

The intention is to produce a 0 dependency standardised build and test framework that works equally well on CI as it does on your local machine.

Scaffold a new service

  1. Create the folder where you would like the new service and change into that directory. Whilst we are building a Go microservice in this example you do not need to create this folder in your GOPATH if you are only going to build with Minke as the generator uses the new vendoring capability introduced in Go 1.5.
$ mkdir ~/myservice
$ cd ~/myservice
  1. Run the generator command in a docker container.
$ curl -Ls https://get.minke.rocks | bash -s 'generate -g minke-generator-go -o $(pwd) -n github.com/nicholasjackson -a myservice'
  1. Build a Docker image
$ cd _minke
$ ./minke -v build_image
  1. Execute the functional tests
$ ./minke -v cucumber

You now have a working microservice ready to be pushed to a Docker registry and deployed to a server. For more detailed information please see the tutorial.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake rspec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/go_builder. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].