100% found this document useful (1 vote)
355 views2 pages

Windows Installation FEDENA

The document provides instructions for installing Fedena, an open source learning management system, on Windows using either a bundle patch or manual installation method. The bundle patch installation involves 4 steps: 1) installing Ruby and Bundler, 2) installing MySQL, 3) downloading and extracting Fedena source code, and 4) running commands to install plugins and start the server. The manual installation involves 11 steps including individually installing Ruby, Rails, MySQL, downloading Fedena source, installing plugins, and starting the server and job worker.

Uploaded by

eulalula
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
355 views2 pages

Windows Installation FEDENA

The document provides instructions for installing Fedena, an open source learning management system, on Windows using either a bundle patch or manual installation method. The bundle patch installation involves 4 steps: 1) installing Ruby and Bundler, 2) installing MySQL, 3) downloading and extracting Fedena source code, and 4) running commands to install plugins and start the server. The manual installation involves 11 steps including individually installing Ruby, Rails, MySQL, downloading Fedena source, installing plugins, and starting the server and job worker.

Uploaded by

eulalula
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Windows Installation :

Installation using Bundle Patch:

Step 1: Install Ruby


Download and install One-Click Ruby Installer for Windows.
https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-1.8.7-p302.exe

Step 2: Install Bundler gem


Now we can use the RubyGems package manager to download and install Bundler Open
a command window and run the command "gem install bundler --remote" .

Step 3: Install MySQL


1. Download and install the "essential" version of the MySQL installer v5.0
http://downloads.mysql.com/archives/mysql-5.0/mysql-essential-5.0.90-win32.msi
(skip this step if you already have MySQL installed)
2. Copy libmysql.dll from MySQL bin directory (usually C:\Program Files\MySQL\MySQL
Server 5.0\bin) to Ruby bin directory (usually C:\Ruby\bin)

Step 4: Setup Fedena


1. Download Fedena bundle patched source code from here. Extract the ZIP/TAR archive
and save to a folder (say C:\Fedena).
2. Now goto the fedena source directory in the command window.
3. Run the command "bundle install --local".
4. Update the MySQL database details in config/database.yml (under "development:")
5. Run the command "rake db:create". This will create the required database.
If your MySQL user does not have database creation privilages, just create the database from your Database manager and you may
skip this step.
6. Run the command "rake fedena:plugins:install_all". This will populate the database with
required tables.
7. Finally, run the command "mongrel_rails start".This would start the server and it will be
accessible at http://localhost:3000
8. If you want to run Fedena in production mode, run the command "mongrel_rails start -e
production". For this, Production database details should be given in config/database.yml
9. Open a new windows command line window and navigate to fedena root directory
10. Run the command "rake jobs:work"

Manual Installation (For Development)

Step 1: Install Ruby


Download and install One-Click Ruby Installer for Windows.
https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-1.8.7-p302.exe

Step 2: Install Rails


Now we can use the RubyGems package manager to download and install Rails
2.3.5(Note: Version should be 2.3.5),
Open a command window and run the command "gem install rails -v=2.3.5 --remote"
(without quotes).
Step 3: Install MySQL
1. Download and install the "essential" version of the MySQL installer v5.0
http://downloads.mysql.com/archives/mysql-5.0/mysql-essential-5.0.90-win32.msi
2. Copy libmysql.dll from MySQL bin directory (usually C:\Program Files\MySQL\MySQL
Server 5.0\bin) to Ruby bin directory (usually C:\Ruby\bin)

Step 4: Setup Fedena


1. Download Fedena source code from GitHub. Extract the ZIP/TAR archive and save to a
folder (say C:\Fedena).
2. Now goto the fedena source directory in command line/prompt.
3. Run the following commands:
a. "gem install mysql"
b. "gem install declarative_authorization -v 0.5.1"
c. "gem install i18n -v 0.4.2"
4. Update the MySQL database details in config/database.yml (under "development:")
5. Run the command "rake db:create". This will create the required databases.
6. Apply delayed job patch for Windows
a. Download delayed job plugin from https://github.com/projectfedena/delayed_job
b. Replace the content of folder vendor/plugins/delayed_job with downloaded files.
7. Run the command "rake fedena:plugins:install_all". This will populate the database with
required tables.
8. Finally, run the command "ruby script/server".This would start the server and it will be
accessible at http://localhost:3000
9. If you want to run Fedena in production mode, run the command "ruby script/server -e
production". For this, Production database details should be given in config/database.yml
10. Open a new windows command line window and navigate to fedena root directory
11. Run the command "rake jobs:work"

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy