Giter Site home page Giter Site logo

riak_wiki's Introduction

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
     gollum-site serve --watch   # Will start the gollum-site server and will regenerate the site
                                 # when changes are made
    
  5. Navigate to http://localhost:8000/ (Default) to access a fully-functional copy of the Riak Wiki.

Updating wiki.basho.com

After adding new content or updating existing content in the wiki repo, it then needs to be pushed live to wiki.basho.com. We do this using a post-receive hook (written by Basho's Dan Reverri) and the "publish" branch. Here's the process to update the live site. (Only people who have commit access to this repo will be able to do this.)

  1. Make sure lastest changes are merged or committed to master branch

  2. Checkout "publish" branch

    git checkout publish

  3. Merge changes from master into publish

    git merge master

  4. Push changes back to publish branch

    git push origin publish

After you merge your changes into publish and push them back to the repo, the post-receive hook will fire and wiki.basho.com should be updated within several minutes.

## Issues, Questions, Comments, Etc.

Credits

Includes icons from famfamfam.

License

The Riak Wiki is licensed under a Creative Commons Attribution 3.0 Unported License.

riak_wiki's People

Contributors

adamhunter avatar atmos avatar bernd avatar catsby avatar dangerdawson avatar dreid avatar dreverri avatar err0 avatar gstein avatar ian-plosker avatar jaredmorrow avatar jpease avatar justinsheehy avatar kevburnsjr avatar michaelklishin avatar micrypt avatar oj avatar roidrage avatar russelldb avatar rustyio avatar rzezeski avatar schofield avatar seancribbs avatar sgonyea avatar siculars avatar slfritchie avatar technoweenie avatar vagabond avatar vinoski avatar weaver avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.