Skip to content

learningcurve/eggd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eggd

eggd is a git and foreman autodeploy daemon for Procfile apps on Amazon EC2 instances. It's written in Go and uses an interface to the Linux filesystem's inotify API to restart foreman when a git push is detected.

(Experimental, not for general use yet.)

Installation

You will need Go installed. Running

sudo apt-get install golang

suffices. To build and install eggd to /usr/local/bin:

git clone https://github.com/learningcurve/eggd.git
cd eggd && make && sudo make install

Set the variable $INSTALL to change the path.

TODO: upstart support.

Usage

  1. In your project directory, make sure you have a Procfile in the root directory and a git remote set up to a bare repository on your EC2 instance.

  2. On your EC2 instance, let eggd track your remote repository:

    eggd add /path/to/remote/repo.git
    
  3. In your project repository, push your commits to your EC2 remote:

    git push your-remote your-branch
    
  4. eggd will run the Procfile on your instance. Profit!

Supported Platforms

Currently tested on the Ubuntu Server 12.04 EC2 image.

FAQ

TODO

About

Automated git and foreman deployment on Amazon EC2.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages