Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am cfreeman on github.
  • I am cfreeman (https://keybase.io/cfreeman) on keybase.
  • I have a public key whose fingerprint is E81A 3094 29D6 49F5 48A0 9664 C365 F88D CD20 C928

To claim this, I am signing this object:

@cfreeman
cfreeman / setting_up_a_new_remote_git_repository.md
Last active December 14, 2015 15:09 — forked from toolmantim/setting_up_a_new_remote_git_repository.textile
Setting up remote git repository where users that belong to the nominated group will have read/write access.

How to a create git repository with group read/write permissions

Configure your server.

$ ssh myserver.com
Welcome to myserver.com!
$ mkdir /var/git/myapp.git
$ chgrp grpName /var/git/myapp.git
$ chmod 775 /var/git/myapp.git
$ chmod g+s /var/git/myapp.git
@cfreeman
cfreeman / gist:5105473
Last active January 16, 2016 07:41
Cheat sheet for getting started with chef.

Chef Cheat sheet

Configuring Chef

To install stuff needed to run chef in a solo mode (Small one or two server configuration):

gem install knife-solo

To setup chef after it has been installed: