Skip to content

Latest commit

 

History

History
82 lines (49 loc) · 3.24 KB

README.md

File metadata and controls

82 lines (49 loc) · 3.24 KB

The Riak Wiki

This repo holds all the content (and other bits) for the most-excellent Riak wiki, located at wiki.basho.com.

We are using Gollum and Gollum-Site to generate the wiki. Gollum is a great piece of open source software released by the GitHub team that lets you maintain and build wikis from the contents of a Git repo.

gollum-site generates html from pages written in any format supported by Gollum (ASCIIDoc, Creole, Markdown, Textile, etc.).

## How to Contribute

Part of the reason we switched to Gollum and GitHub for the Riak Wiki was to make it easier for people to contribute. So, treat this repo much like you would a code repo: If you have a change (be a minor edit or an entirely new page full of Python client code snippets), simply:

  1. Fork this repo

  2. Build a local copy

  3. Create a new Branch:

     git checkout -b <branch-name>
    
  4. Add your changes

  5. Run the specs and fix any formatting issues

     rake spec
    
  6. Commit changes to your branch

  7. Send us a pull request

If it's a small or obvious change, we're likely to merge it right away. If we have questions, we'll communicate with you using the pull request's issue page.

The Gollum README provides a great introduction to using the wiki system.

Anyone can contribute to the Riak Wiki via the process outlined above. That said, there is a group of non-Basho developers who have commit access to this repo and can edit it directly. We call them Community Wiki Committers. See this page if you're interested in becoming one.

## Building the Wiki Locally

If you want to build and view the Riak Wiki locally, here is what you need to do:

  1. Clone this repo:

     git clone git://github.com/basho/riak_wiki.git
    
  2. Ensure that you have Bundler installed:

     gem install bundler
    
  3. Install all pre-requisite gems:

     bundle install
    
  4. Generate the site and start a local server (This will take a minute. Don't fret.)

     gollum-site generate   # Will generate the files
     gollum-site serve      # Will start the gollum-site server
    
  5. Navigate to http://localhost:8000/ (Default) to access a fully-functional copy of the Riak Wiki.

## Issues, Questions, Comments, Etc.