Mailinglist Archive: opensuse-features (166 mails)

< Previous Next >
[openFATE 311133] Heroku like solution for SUSE Studio
Feature changed by: Flavio Castelli (flavio_castelli)
Feature #311133, revision 12
Title: Heroku like solution for SUSE Studio

- Hackweek VI: Unconfirmed
+ Hackweek VI: Done
Requester: Neutral

Requested by: Flavio Castelli (flavio_castelli)
Partner organization:

Creating an appliance to run a specific rails appliacation can be quite
annoying. There are extra repositories to add, package dependencies to
satisfy, a database to setup, apache and passenger to setup, overlay
files to add and so on.
Cloning an appliance like this
( can save some time,
but some efforts are still required.
IMHO the easiest solution to deploy a rails app in the cloud is Heroku
( .
My hackweek project (temporarly called 'Dister') aims to provide a
command line tool similar to Heroku's one.
This is a list of the possible commands I want to implement.
dister create [base_system] [template] base_system and template are
optional parameters. If base_system is not set dister will use latest
version of openSUSE supported by Studio. If template is not set dister
will use the JeOS template. dister push pushes the current rails code
to studio dister rake db:migrate performs all the db migrations locally
and uploads a dump of the db to Studio dister add format <format> adds
the specified format dister rm format <format> removes the specified
dister packages add <package> adds package to the appliance dister
packages rm <package> removes package from the appliance
dister build builds the appliance dister download downloads the
appliance locally dister testdrive boots the appliance inside of
testdrive and returns
SUSE Studio is going to support direct deployment of ec2 appliances to
Amazon. Supporting this feature inside of my hackweek project would
make terribly easy to push rails appliances into the cloud.

Test Case:
* User checkouts his rails app from git/svn/whaterver
* User creates a new appliance using: dister create
* dister figures out which database is used by the rails appliance and
adds all the required packages.
* dister figures out which gems are required by the rails app and
installes them from rpm or from gem files.
* User updates a dump of his db using the command dister rake db:
* dister configures apache passenger automatically
* User requires an extra package using the command dister package add
* User enables VMware format dister add format vmx
* User builds the appliance dister build
* User tests the appliance inside of testdrive dister testdrive
* User downloads the appliance dister download

Business case (Partner benefit): Attract more rails developers, create more appliances.

#1: Cornelius Schumacher (cschum) (2011-01-23 21:14:05)
Wonderful idea.

#2: Dominik Mayer (domayer) (2011-01-24 10:07:59)
This sounds like a lot of fun.

openSUSE Feature:

< Previous Next >
This Thread
  • No further messages