Hello everyone,
I’m very new to Ruby, Rails, and Radiant and recently attempted a
fresh install of Radiant 0.6.1 on a VPS I have running CentOS-4. I
didn’t receive any error messages during any of the installations but
am unsure how to make the application run. I’m very eager to begin
learning and using Radiant and will attempt to provide you with as
much relevant information as possible. Excuse the length of the
following. It is an output from running the gem list command. The
following gems are installed. Am I missing anything? Everything
should be current.
Please note that this is my first time installing Ruby, Rails, Gems,
basically anything related to RoR or Radiant.
========================================================================
*** LOCAL GEMS ***
actionmailer (1.3.3)
Service layer for easy email delivery and testing.
actionpack (1.13.3)
Web-flow and rendering framework putting the VC in MVC.
actionwebservice (1.2.3)
Web service support for Action Pack.
activerecord (1.15.3)
Implements the ActiveRecord pattern for ORM.
activesupport (1.4.2)
Support and utility classes used by the Rails framework.
capistrano (1.4.1)
Capistrano is a framework and utility for executing commands in
parallel on multiple remote machines, via SSH. The primary goal is
to simplify and automate the deployment of web applications.
cgi_multipart_eof_fix (2.1)
Fix an exploitable bug in CGI multipart parsing which affects Ruby
<= 1.8.5 when multipart boundary attribute contains a non-halting
regular expression string.
daemons (1.0.6)
A toolkit to create and control daemons in different ways
fastthread (1.0)
Optimized replacement for thread.rb primitives
fcgi (0.8.7)
FastCGI library for Ruby.
gem_plugin (0.2.2)
A plugin system based only on rubygems that uses dependencies only
gettext (1.9.0)
Ruby-GetText-Package is a libary and tools to localize messages.
mongrel (1.0.1)
A small fast HTTP library and server that runs Rails, Camping,
Nitro
and Iowa apps.
mongrel_cluster (0.2.1)
Mongrel plugin that provides commands and Capistrano tasks for
managing multiple Mongrel processes.
mysql (2.7)
MySQL/Ruby provides the same functions for Ruby programs that the
MySQL C API provides for C programs.
needle (1.3.0)
Needle is a Dependency Injection/Inversion of Control container for
Ruby. It supports both type-2 (setter) and type-3 (constructor)
injection. It takes advantage of the dynamic nature of Ruby to
provide a rich and flexible approach to injecting dependencies.
net-sftp (1.1.0)
Net::SFTP is a pure-Ruby implementation of the SFTP client
protocol.
net-ssh (1.1.1)
Net::SSH is a pure-Ruby implementation of the SSH2 client protocol.
radiant (0.6.1)
A no-fluff content management system designed for small teams.
rails (1.2.3)
Web-application framework with template engine, control-flow layer,
and ORM.
rake (0.7.3)
Ruby based make-like utility.
sources (0.0.1)
This package provides download sources for remote gem installation
unicode (0.1)
Unicode normalization library.
=======
After successfully installing Radiant, I ran the following command
script/server -e production from the root Radiant directory. I’m
assuming this starts Radiant on the server? This was the response:
=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with production environment…
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no
restart).
** Rails signals registered. HUP => reload (without restart). It
might not work well.
** Mongrel available at 0.0.0.0:3000
** Use CTRL-C to stop.
So far so good, right?
I then attempted to access Radiant on the server via the URL that I
unpacked the Radiant application files to. I assumed that these files
had to be located into a web accessible directory so I placed them
in /home/user/public_html/cms. When I try to access this directory in
my web browser, I simply receive a default directory listing
displaying the contents of the directory. No Radiant login screen.
Also, because this is my first time installing RoR and a Rails
application, I also need to know how to set it up so Radiant starts
automatically so I don’t have to initiate it manually. So, is the
reason I’m seeing a directory listing rather than a Radiant page
because Radiant isn’t actually running on the server?
Thanks for reading. I apologize for lengthy message and hope I
provided a sufficient amount of information.
Best,
Mason