Fedena installation on shared hosting site5.  Fedena is an open source school management system.

To install new version of fedena project you will need to do the following:

1. Download and extract files of new version of fedena
2. Navigate to the rails application directory and go to /config/environment.rb – open this up and look for a line like this:

RAILS_GEM_VERSION = ’2.3.5′ unless defined? RAILS_GEM_VERSION

and comment this line out or remove it. Instead of it you will need to add the following code to that file right before "Rails::Initializer.run do |config|" line:

if Gem::VERSION >= '1.3.6'
module Rails
class GemDependency
def requirement
r = super
(r == Gem::Requirement.default) ? nil : r


3. Add the following line on the top of config/boot.rb file :
require 'thread'

4. Navigate to /public under the application root and create .htaccess file with the following content:

PassengerEnabled On
PassengerAppRoot /home/username/rails_app_directory
RailsEnv production
RailsBaseURI /

—————replace “/home/username/rails_app_directory” with the path to the root folder of your application.

5. Setup your database details in the database.yml
Open the file database.yml in the config folder of the fedena source. 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

Note: Database and user should be already created by you in your control panel.

6. Set up Fedena databases
From the Fedena source directory in terminal run,
rake fedena:plugins:install_all

Now you should get working application in your web browser.

Some common errors you might get on shared hosting.

rake aborted!
uninitialized constant ActiveSupport::Dependencies::Mutex
(See full trace by running task with --trace)

In Rakefile add
require 'thread'

rake aborted!
undefined local variable or method `version_requirements’ for #

(See full trace by running task with –trace)

Edit the “Gemfile” file and change the version of rails accordingly in line gem ‘rails’,’2.3.5′
find the rails version by issuing command.

rails --version
Rails 2.3.15

Thanks to the Sergey Site5 support engineer for the instructions.  Please contact us at +919034757673 or email at in**@am*********.com if you need help with the Fedena.  We highly recommend site5 for fedena hosting on their shared server.  Try it for free!  You can use coupon code FREETRIAL and select a one (1) month contract term when ordering!
To use Fedena in your institute and for free consultation on how AmpleTrails can help you in achieving your goals please contact us at in**@am*********.com 9034757673, 9034757673, 9315441078 WhatsApp 9315441053

Need a desktop based software? Please check our E-School Software or you can download the free trial of the software from the Demo of School Software

Related Posts