The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Deploying a Seaside Application

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Deploying a Seaside Application Posted: Oct 10, 2009 2:08 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Deploying a Seaside Application
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

The question of "how do I deploy a seaside or web velocity application" comes up a fair amount, so I thought I'd post the steps I use. For Web Velocity, we have videos on this here.

Once I get the image and VM up to the server, I do the following:

  • For Seaside/VW apps, I use command line arguments to filein a loader script
  • For Web Velocity, that directory is called "autoload" - just put the parcels there. It will load things alphabetically, so arrange things such that things work under that constraint.
  • Set up some Apache rules for the application - here's an example for a path like /myApplication, where the Seaside/Velocity app has been registered as myApplication


RewriteRule ^myApplication(.*) http://127.0.0.1:7777/myApplication$1 [P]
ProxyPassReverse /myApplication http://127.0.0.1:7777/myApplication

And if you want a simple url that redirects there:


RewriteRule	/pathIWantToMakePublic	/myApplication/RegisteredSeasideNameHere

And that's pretty much that. To run the application, I set up a script with this line in it to start the image:


./visual myImage.im -headless &

Technorati Tags: , ,

Read: Deploying a Seaside Application

Topic: Smalltalk Daily10/09/09: Color Syntax Highlighting Previous Topic   Next Topic Topic: The Value of Smalltalk (AAC)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use