Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/choptastic/mgd
(M)inimal (G)it (D)eployment - Quick and dirty git deployment
https://github.com/choptastic/mgd
Last synced: 21 days ago
JSON representation
(M)inimal (G)it (D)eployment - Quick and dirty git deployment
- Host: GitHub
- URL: https://github.com/choptastic/mgd
- Owner: choptastic
- Created: 2013-10-09T21:20:39.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-11-19T15:17:53.000Z (12 months ago)
- Last Synced: 2024-10-08T15:24:15.550Z (about 1 month ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# MGD - Minimal Git Deploy
MGD is an ultra-simple git deployable system.
While there are plenty of other *better* git deployment solutions out there
(seriously, just search github for "git-deploy" if you want something that
doesn't completely suck), sometimes you just want something quick and dirty.Enter MGD, a git deployment system intentionally acronymed after a certain
brand of beer. It's quick, it's dirty, it'll get the job done, but it's not
exactly something you want to tell anyone about## Installing MGD on Server
On your server:
```bash
git clone https://github.com/choptastic/mgd
cd mgd
sudo make install
```## Setting up a repository
### On your server:
* For Public Repos
```bash
mgd https://github.com/yourname/projectname.git
```* For Private Repos
```bash
mgd [email protected]:yourname/projectname.git
```### Once The above is finished
* The app itself will be placed into apps/projectname
* The bare git repo will be placed into git/projectname.gitIf you need some extra scripts (like enabling hot code reloading in Erlang, or
if you use something *less enlightened*, you can restart the server or whatever
you need to do), then just edit the contents of
`git/projectname.git/hooks/post-receive`.## On your workstation
You don't need to think too hard about this one, since the above step tells you
almost exactly what to do when the installation process completes.```bash
git remote add live @/path/to/git/projectname.git
git push live master
```## That's it
Yep, it doesn't do anything else. It just sets up the server to receive deployments and push them.
## About
Questions? Post an issue.
Author: [Jesse Gumm](http://jessegumm.com) ([@jessegumm](http://twitter.com/jessegumm))
License: MIT LICENSE