Edit

Install opensteam and create the 'petstore' application

In this tutorial I will show you how to install the openSteam gem and create the 'petstore' sample application.

Duration: ~3min

Edit

Installation

Installing openSteam is as easy as installing just one of your favourite gems. Just type:

 sudo gem install opensteam 

or if you're running Windows:

 gem install opensteam 

If you're a developer and/or you're not afraid to live on the edge, you can checkout the last developer version from rubyforge:

 svn checkout svn://rubyforge.org/var/svn/opensteam 

To build a gem file from source and install it, run:

rake gem
gem instal --local pkg/opensteam-v***.gem 



Edit

Create the Sample Application

To quickly explore openSteam and its features, you can create the 'petstore' sample application in just three steps.

1. Create a new rails application (and of course the databases):

rails my_webshop

2. Create a new webshop (in the root directory of your rails-application):

script/generate opensteam petstore

3. Execute this rake-script (in the root directory of your rails-application):

rake opensteam:petstore:create

3. Start your server and navigate your browser to http://localhost:3000/petstore

petstore_index





Search | Imprint | Admin | File Management | Login/Logout | ScrewTurn Wiki version 2.0.33.