
Project Page
(Ruby-Forge) Screenshots Install
Update Browse
code (via Koders) Also see
What is RRiki?
RRiki (Ruby Research Wiki) is software that can be used to keep notes and organize
references for research.
- Type in notes, cross-reference them and attach keywords.
- Enter citations - sources - by hand or import from pubmed.
- User interface is any webbrowser (Firefox was used during development).
- Use intuitive plain text (markdown)
to format notes.
- See cross-referenced notes/sources at a glance.
- Use auto-generated BibTeX file in your LaTeX documents.
- Insert figures in notes using scalable vector graphics (svg)
RRiki
uses the Ruby-On-Rails
framework to display and store information on a MySQL database via a web-browser.
RRiki is released under the GNU GPL
free of charge in the hope it will be useful to the academic community.
There is no
warranty for RRiki, either express or implied.
Screenshots
Initial Setup
RRiki depends on a few other open source software systems. Depending on
what software you already have on your system, you may not need to do
all of the following steps. For Linux users, your favourite package
manager should take care of the heavy lifting. For windows you will
probably have to use the installers.
Linux
- Install Ruby and Ruby on Rails [instructions and
software here]
- Install bluecloth if needed gem install bluecloth --include-dependencies
- Install MySQL [go]
Don't forget to create a user account and give it a password
- Install CVS
- Go to or create a directory (mydirectory)
where you would like to keep the code.
- Grab the latest code from rubyforge:
cvs -d :pserver:anonymous@rubyforge.org:/var/cvs/rriki
login
cvs -d
:pserver:anonymous@rubyforge.org:/var/cvs/rriki checkout rriki - Under /mydirectory/rriki/config edit the database.yml file to fill in the username and password for MySQl.
- Create the RRiki database via MySQL:
cd
/mydirectory/rriki/db [change to the rriki directory with
database creationg scripts]
mysql -uUser
-pPassword [start the MySQL commandline client]
mysql>create
database rriki [create the RRiki database]
mysql>use
database rriki [tell MySQL to use this new database]
mysql>source
empty_rriki_db.sql [use the supplied script to create the
tables in the database]
- Start RRiki:
cd
/mydirectory/rriki
ruby
rrikiserver.rb [get ruby to run the server]
- Open a webbrowser and goto http://localhost:3000/
Windows
- Install Ruby and Ruby on Rails [instructions and
software here]
- Install bluecloth if needed gem install bluecloth --include-dependencies
- Install MySQL (use the 'complete' install, not 'essentials') [go]
Give root a password
- Install tortoiseCVS.
- Go to or create a directory (mydirectory)
where you would like to keep the code.
- Right click in mydirectory and select 'CVS checkout'.
protocol is :pserver
server is rubyforge.org
repository folder is /var/cvs/rriki
user name is anonymous
module is rriki
Click OK and let the code flow in - Under /mydirectory/rriki/config edit the database.yml file to fill in the username and password for MySQL.
- Create the RRiki database via MySQL:
Got to Programs->MySQL->MySQL administrator, enter username and password
Click on 'Restore' in the left hand pane
Click 'Open Backup File' on right hand pane
Find /mydirectory/rriki/db/empty_rriki_db.sql and click OK
Then click 'Start Restore'. You can also use this to restore an existing RRiki database
OR
Open a commandline window
mysql -uUser
-pPassword [start the MySQL commandline client]
mysql>create
database rriki [create the RRiki database]
mysql>use
database rriki [tell MySQL to use this new database]
mysql>source
empty_rriki_db.sql [use the supplied script to create the
tables in the database]
- Start RRiki:
cd
/mydirectory/rriki
ruby
rrikiserver.rb [get ruby to run the server]
Remember to allow Ruby Interpreter past the windows firewall
- Open a webbrowser and goto http://localhost:3000/
- If you like RRiki, set it up as a service:
gem install mongrel_service [more details here]
cd
/mydirectory/rriki
mongrel_rails service::install -Nrriki -eproduction -p3000
Updating
- Backup your database:
mysqldump
-uUser -pPassword rriki > backupfile.sql
- Backup your database
- You did back up your database
right?
- Note the release date for your version of RRiki. Click on
'Front'. The summary page contains the text 'You are
using RRiki YYYY.MM.DD...' this is the release date
- Use CVS to update the code.
Linux:
cd
/mydirectory/rriki [go into the code directory]
cvs -d :pserver:anonymous@rubyforge.org:/var/cvs/rriki
login
cvs -d
:pserver:anonymous@rubyforge.org:/var/cvs/rriki update rriki
Windows:
Navigate to the rriki directory
Right click and select 'CVS update' and let the code update
- Navigate
to /db and look at the .sql files named update_YYYY.MM.DD.sql . In
sequence, starting at the first date after your release date apply the
updates as follows:
mysql -uUser
-pPassword
mysql>use
database rriki
mysql>source
update_YYYY.MM.DD.sql
- Open
a webbrowser and goto http://localhost:3000/
Also see:
Program,
text and artwork
©Kaushik Ghose, 2008
made with KompoZer