[openstreetmap-website] Include installation documentation in the repository (#317)

Shaun McDonald notifications at github.com
Tue Jun 25 10:26:00 UTC 2013


> +To clone only the most recent version (~23MB), instead use a 'shallow clone':
> +
> +```
> +git clone --depth=1 https://github.com/openstreetmap/openstreetmap-website.git
> +```
> +
> +If you want to add in the full history later on, perhaps to run `git blame` or `git log`, run `git fetch --depth=1000000`
> +
> +
> +## Ruby gems
> +
> +We use [Bundle](http://gembundler.com/) to manage the rubygems required for the project.
> +
> +```
> +cd openstreetmap-website
> +bundle install

"Gems will be installed to your default system location for gems. If your system gems are stored in a root-owned location (such as in Mac OSX), bundle will ask for your root password to install them there."

http://gembundler.com/v1.3/bundle_install.html

Thus without using sudo it will ask for your sudo password if it's installing system wide, which it does by default. If it doesn't install any new gems as they have all been installed previously it won't ask for your password.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/317/files#r4862982
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130625/e56e07d4/attachment.html>


More information about the rails-dev mailing list