Skip to content
This repository has been archived by the owner on Dec 2, 2017. It is now read-only.

divideandconquer/go-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-base

Note this has been replaced with a revised version in the healthimation organization. The code in this repo is deprecated.

A base service to start new services from

Getting Started

  • Clone to new service folder
  • Change the remote to your new service's URL
  • Change serviceName in run.sh
  • Push
git clone git@github.com:divideandconquer/go-base.git new-service
cd new-service
git remote set-url origin git://new.url.here
sed -i '' 's/"base"/"new"/' build/run.sh
git add *
git commit -m "initial clone"
git push -u origin master

This service infrastructure assumes you are running it in docker and have access to consul. I recommend using coreos-vagrant and then running consul as a fleet unit. You should be able to copy the unit file at the previous link on to the coreos box and start it with:

fleetctl start /path/to/consul.service

About

A base service to start new services from

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published