Project Fedena is the open source school management system based on Ruby on Rails. It was initially developed by a team of developers at Foradian Technologies. The project was made open source by Foradian, and is now maintained by the open source community.
Installation instructions for Debian Lenny
Install Ruby, MySQL driver and OpenSSL libraries
# aptitude install ruby libmysql-ruby libopenssl-ruby
Install RubyGems from unstable
# aptitude -t unstable install rubygems
[Reason : Debian stable has version 1.2.0, but ver >= 1.3.1 is needed]
Install Rails and Prawn versions specifically needed for Fedena
# gem install rails -v=2.3.5
# gem install prawn -v=0.6.3
[Or manually download gems along with their dependencies from http://rubygems.org/gems]
Download the latest Fedena source code from github
Download Fedena source code from GitHub. Extract the downloaded .tar archive to a convenient location where you would be running fedena.
Setup your database details in the database.yml
Open the file database.yml in the config folder of the fedena soucre. Change the following details:
database: fedena – The name of the database you want to use for fedena
username: root – Mysql username for fedena
password: mypass – The password for the above mysql user
Install the rest of the gems
Open a terminal and navigate to the fedena source directory, install the rest of the gems by running
# /var/lib/gems/1.8/bin/rake gems:install
Set up Fedena databases
# /var/lib/gems/1.8/bin/rake db:create
# /var/lib/gems/1.8/bin/rake db:migrate
Change permissions for scripts
Grant executable permissions for the files in script directory by
# chmod +x script/*
Run the inbuilt server
If everything went fine till now, you are ready to run fedena server by running the following
# script/server
Have fun