n3rve _ howto_ install fedena on windows

4
7/23/2019 N3RVE _ HowTo_ Install Fedena on Windows http://slidepdf.com/reader/full/n3rve-howto-install-fedena-on-windows 1/4  N3RVE Ralph    Ralph is a car enthusiast, blogger, author and teacher. In addition to being the founder of this website, Ralph is also a Linux Systems Administrator with 9 years+ experience who is also available for freelance or full-time work. LATEST POSTS Getting a Static IP Address in Nigeria 27th October, 2015 How To: Enable Remote MySQL Connections on Ubuntu Server 31st August, 2015 General HowTo: Install Fedena on Windows Posted by Ralph on July 14th, 2014. Previously, I wrote a guide on how to install Fedena on Ubuntu 12.04 (Server). In this guide, I’ll  be showing you how to install Fedena on a computer running Windows. Although, there’s an official guide here, it’s outdated, so you’ll probably end up with errors during installation. For this tutorial, I’ll be using Windows 8.1 64 -bit. However, this guide should work on other versions of Windows. Install Ruby (rubyinstaller-1.8.7-p374.exe According to the official guide, we need rubyinstaller-1.8.7-p302.exe, however, I personally recommend you install the latest 1.8.7 instead, since differences between patch levels should not affect application behavior (and the latest patch level is always better than an older version). During Ruby installation check the “Add Ruby executables to your PATH” option, you may also choose to associate .rb and .rbw files with your Ruby installation.

Upload: khaled-zarig

Post on 13-Apr-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: N3RVE _ HowTo_ Install Fedena on Windows

7/23/2019 N3RVE _ HowTo_ Install Fedena on Windows

http://slidepdf.com/reader/full/n3rve-howto-install-fedena-on-windows 1/4

 N3RVE 

Ralph

 

 

 

Ralph is a car enthusiast, blogger, author and teacher. In addition to being the founder of this

website, Ralph is also a Linux Systems Administrator with 9 years+ experience who is also

available for freelance or full-time work.

LATEST POSTS 

Getting a Static IP Address in Nigeria 27th October, 2015

How To: Enable Remote MySQL Connections on Ubuntu Server  31st August, 2015

General 

HowTo: Install Fedena on Windows Posted by Ralph on July 14th, 2014.

Previously, I wrote a guide on how to install Fedena on Ubuntu 12.04 (Server). In this guide, I’ll

 be showing you how to install Fedena on a computer running Windows. Although, there’s anofficial guide here, it’s outdated, so you’ll probably end up with errors during installation.

For this tutorial, I’ll be using Windows 8.1 64-bit. However, this guide should work on other

versions of Windows.

Install Ruby (rubyinstaller-1.8.7-p374.exe) 

According to the official guide, we need rubyinstaller-1.8.7-p302.exe, however, I personallyrecommend you install the latest 1.8.7 instead, since differences between patch levels should not

affect application behavior (and the latest patch level is always better than an older version).

During Ruby installation check the “Add Ruby executables to your PATH” option, you may also

choose to associate .rb and .rbw files with your Ruby installation.

Page 2: N3RVE _ HowTo_ Install Fedena on Windows

7/23/2019 N3RVE _ HowTo_ Install Fedena on Windows

http://slidepdf.com/reader/full/n3rve-howto-install-fedena-on-windows 2/4

Install MySQL (mysql-essential-5.0.90-win32.msi) 

Download and install the “essential” version of the MySQL installer v5.0. After installation,

copy libmysql.dll from the MySQL bin directory (usually C:\Program Files(x86)\MySQL\MySQL Server 5.0\ bin to Ruby’s bin directory (usually C:\Ruby\bin)

 Note the root MySQL password you set as it’s needed later. If you left the password field blank,that’s not a problem, just proceed. 

Setup Fedena (Fedena_Bundle_Win.zip) 

Download Fedena bundle patched source code (linked above).

Extract the archive to a folder (say C:\Fedena). To keep things organized, get rid of the

unnecessary directory structure and situate all the main files at “C:\Fedena”. 

 Navigate to the Fedena source code directory (“C:\Fedena”) from a command prompt window. 

To do this, open a command prompt window using the Windows button and R (⊞ Win + R),

type “cmd” and hit enter. In the command prompt window, the current directory would probably be ‘C:\Users\Username’. To change directory, we use the ‘cd’ command. See this  page for more

information on the CD or Change Directory command. However, if you’re atC:\Users\Username, the command to navigate to C:\Fedena would be cd ../../Fedena

Update RubyGems (v 1.3.7)

gem update --system 1.3.7

 Now, we install bundler:

gem install bundler

Install additional GEMS

From the Fedena source directory, run the following command:

bundle install --local

Update Database File

Update the MySQL database details in config/database.yml

development:host: localhostadapter: mysqldatabase: fedena_ultimateport: 3306username: rootpassword: foradian

Page 3: N3RVE _ HowTo_ Install Fedena on Windows

7/23/2019 N3RVE _ HowTo_ Install Fedena on Windows

http://slidepdf.com/reader/full/n3rve-howto-install-fedena-on-windows 3/4

test: &testhost: localhostadapter: mysqldatabase: fedena_two_newport: 3306username: rootpassword: foradian

production:host: localhostadapter: mysqldatabase: fedena_ultimateport: 3306username: rootpassword: foradian

cucumber:<<: *test[/code_highlight]

Replace the default password "foradian" with your MySQL password set earlier,or delete the password if you did not set one earlier.

Create the MySQL database.From the Fedena source directory ("C:\Fedena"), run the following command

rake db:create

This will create the required database, using the MySQL connection information supplied earlier.

If you already have this database, run this command instead:

rake db:migrate

 Now, populate the database with the required tables using this command:

rake fedena:plugins:install_all

At this point, the installation should be complete. You can start Fedena with this command:

mongrel_rails start

Your Fedena installation should now be accessible at http://localhost:3000

(http://127.0.0.1:3000)

If you experience any problems, let’s hear in the comments.  —  

Should you be interested in purchasing the professional version of Fedena with severel premium

modules, contact me at [email protected]

Twitter  Facebook  

  Fedena 

  Foradian 

Page 4: N3RVE _ HowTo_ Install Fedena on Windows

7/23/2019 N3RVE _ HowTo_ Install Fedena on Windows

http://slidepdf.com/reader/full/n3rve-howto-install-fedena-on-windows 4/4

  School Management Software 

  SIS 

  Windows 

Ralph

Ralph is a car enthusiast, blogger, author and teacher. In addition to being the founder of thiswebsite, Ralph is also a Linux Systems Administrator with 9 years+ experience who is also

available for freelance or full-time work.

 

 

 

 

View Comments (54) ... 

 Navigation

Search

 Copyright ©  N3RVE. 2015 • All rights reserved. Proudly published with WordPress.