Hi,

Below is a step by step guide to install Radiant CMS on windows. May
be it will be helpful for people new to Radiant:

Installation Guide for Ruby and Rails and Radiant 0.9.1

•       Following list the version of various components recommended:
o       Ruby 1.8.7  - http://rubyforge.org/frs/?group_id=167
o       Rails 2.3.5/Rails 3.0.6 – will be  installed as a gem directly by
command line
o       Mysql 5.14.1  http://dev.mysql.com/downloads/mysql/5.1.html
o       Radiant 0.0.91. – will be  installed as a gem directly by command
line
•       Install Ruby 1.8.7 using windows installer - rubyinstaller-1.8.7-
p334.exe (make sure to check the box for adding ruby to command line
during installation screens).
•       Install rails specific version – E:\ruby187> gem install rails –
v=2.3.5
•       Install Development kit - DevKit-tdm-32-4.5.1-20101214-1400-sfx.exe
http://rubyinstaller.org/downloads/ . Run the exe, it will ask for
extracting it to a folder.
1.      Follow the steps – 
https://github.com/oneclick/rubyinstaller/wiki/development-kit
       ruby dk.rb init
       ruby dk.rb install
•       To install mysql2 which comes as a gem for Ruby we can do following
2 steps. Step 1 is recommended.
1.      Use the mysql installation of XAMPP.
       Run the following command from ruby installation directory. Please
correct the path for your xamp installation
gem install mysql2 -- '--with-mysql-lib="e:\xampp\mysql\lib\opt" --
with-mysql-include="e:\xampp\mysql\include"'
2.      Alternatively install mysql community server 5.1 (windows
installer) and use the command above after modifying the path.

•       This is one of the most important step. Download the libmysql.dll
from the belowm link and copy to E:\ruby187\bin i.e. your ruby bin
folder.
http://instantrails.rubyforge.org/svn/t … bmySQL.dll
Copy the libmysql.dll from the lib/opt folder of your mysql
installation and overwrite it over the file under the bin directory of
your ruby installation - e:\Ruby187\bin\
•       Run command ‘gem install rails –v=2.3.5’ or ‘gem install rails’ (for
rails 3.06) from command prompt.
•       Run ‘gem install radiant’ to install radiant. As 0.9.1 is the latest
version it will get installed.
For specific version installation use command ‘gem install radiant –
v=0.8.1’
•       Create project for radiant in your desired folder say E:\RubySites
as
1.      E:\RubySites> radiant –d mysql screencast
2.      Check the DB names that will be created in the file database.yml
under screencast/config directory.
3.      Run the command to create and initialize the DB with the radiant
tables. Move into the screencast directory to issue these commands
       rake db:create ( make sure your mysql is up)
       rake development db:bootstrap
•       provide user name, name, password for radiant admin. Remember it
•       Try to start the server :
1.      Ruby script/server
•       If it gives the error for mutex then do the following. Refer to
http://makandra.com/notes/1051-fixing-uninitialized-constant-activesupport-dependencies-mutex-nameerror
1.      In the environment.rb file under the config directory of your
radiant application screencast/config add the line “  require
‘thread’   “ before “require 'radius'” line.
2.      In the environment.rb file under the config directory of your
radiant application screencast/config add the line “  require
‘thread’   “ after  “RAILS_ROOT =
File.expand_path("#{File.dirname(__FILE__)}/..") unless defined?
(RAILS_ROOT)” line.






Reply via email to