Getting Started


There are two ways to install fastr. You can install the latest version from rubygems, or install from the latest git source.


$ sudo gem install fastr


$ git clone git://
$ cd fastr
$ sudo rake install


To setup a fastr application, you can use the fastr command.

$ fastr init helloworld


To start your fastr application using thin, issue the following command:

$ thin -p 5000 start

You should see the following output:

>> Using rack adapter
>> Thin web server (v1.2.7 codename No Hup)
>> Maximum connections set to 1024
>> Listening on, CTRL+C to stop
[INFO] [Fastr::Application]: Loading application...
[DEBUG] [Fastr::Plugin]: Loading plugins...
[DEBUG] [Fastr::Application]: Loading lib classes...
[DEBUG] [Fastr::Application]: Loading model classes...
[DEBUG] [Fastr::Application]: Loading controller classes...
[DEBUG] [Fastr::Router]: Loading routes from: /private/tmp/helloworld/app/config/routes.rb
[DEBUG] [Fastr::Router]: Adding route, path: /:controller/:action, args: []
[INFO] [Fastr::Application]: Application loaded successfully.

Try to access your application by going to the URL:


Table Of Contents

Previous topic


Next topic

Directory Structure

This Page