mjuneja / tog-wiki
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
surat pyari (author)
Tue Nov 25 23:54:20 -0800 2008
tog-wiki /
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Tue Nov 25 23:54:20 -0800 2008 | |
| |
README.markdown~ | Tue Nov 25 23:54:20 -0800 2008 | |
| |
app/ | Tue Nov 25 22:56:28 -0800 2008 | |
| |
config/ | Tue Nov 25 22:56:28 -0800 2008 | |
| |
db/ | Tue Nov 25 22:56:28 -0800 2008 | |
| |
init.rb | Tue Nov 25 22:56:28 -0800 2008 | |
| |
init.rb~ | Tue Nov 25 22:56:28 -0800 2008 | |
| |
locale/ | Tue Nov 25 22:56:28 -0800 2008 | |
| |
public/ | Tue Nov 25 22:56:28 -0800 2008 | |
| |
test/ | Tue Nov 25 22:56:28 -0800 2008 |
README.markdown
Tog Wiki
Included functionality
- creating a wiki-page
- editing a wiki page
- viewing previous version of a page
- roll back to previous version
- searching functionality
Plugin requirements
* tog_core * acts_as_versioned * thinking-sphinx
Install
- Install plugin from source:
ruby script/plugin install git@github.com:mjuneja/tog-wiki.git
- Generate installation migration:
ruby script/generate migration install_tog_wiki
with the following content:
class InstallTogUser < ActiveRecord::Migrationdef self.up migrate_plugin "tog_wiki", 2 end def self.down migrate_plugin "tog_wiki", 0 endend
- Add tog wiki's routes to your application's config/routes.rb
map.routes_from_plugin 'tog_wiki'
- Create sphinx indexes
rake thinking_sphinx:index
- Connect to Sphinx Daemon
rake thinking_sphinx:start
- And finally you can migrate the db to add the tog wiki specific tables and copy its resources to public directory:
rake db:migrate
rake tog:plugins:copy_resources
