Gollum is a simple documentation app base on Git. I could write the docs in markdown and all changes would be governed by the Git repository.
But the application doesn’t support any authentication and that means there is no way to trace who has committed the code.
Kudos to Stephanie Collett who wrote a rackup file for Gollum such that it will prompt for user email before the user start editing. That email is stored in session and would be used as identifying during commit.
Here is the config.ru
Add it to the Gollum root folder.
Install the Rack gem.
gem install rack
Start the application by
bundle exec rackup config.ru
Reference: GitHub Gist – scollett / gollum.config.ru