one-click-orgs

https://github.com/oneclickorgs/one-click-orgs

Ruby

Create legal organisations with just one click

Organisation#domain

Returns the base URL for this instance of OCO.
Pass the :only_host => true option to just get the host name.

Source | Google | Stack overflow

Edit

git clone [email protected]:oneclickorgs/one-click-orgs.git

cd one-click-orgs

open app/models/organisation.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Organisation-domain-for-pr


# Commit to git

git add app/models/organisation.rbgit commit -m "better docs for Organisation#domain"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Organisation-domain-for-pr

hub pull-request


# Celebrate!