Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deploy WO 5.3 on Leopard Server



Here are my owner and permissions variables directly from a bash deployment script:

TARGET_CHOWN="appserver:appserveradm"
TARGET_CHMOD="550"
WEBSERVER_DOCS_CHOWN="root:admin"
WEBSERVER_DOCS_CHMOD="775"

For your convenience I have attached a simple bash script that takes a few arguments (see usage example) and tars and copies a bundle to a remote server and sets the permissions. This script is itself called from a deployment script that passes in the relevant arguments. This script can be easily modified to remove the tar.gz step and then use it directly on the two tar.gz packages created by the modern wolips build.xml.

Hope that is of use to you.

Regards, Kieran :-)

PS. I use ssh keypairs on deployment servers so that scripts like this can work without ssh passowrds. I also use a ~/.ssh/config file to make it easy to configure the ssh command with port, host alias, remote host/IP, etc, which avoids putting all that network config stuff into scripts

____________________________________
http://blog.greenislandconsulting.com/ (which needs the stupid template cleaned up btw)




On Jul 3, 2009, at 6:52 PM, David Holt wrote:

What are the correct permissions for the WebServer resources on a split install? I have dropped the .woa into /Library/WebServer/ Documents/WebObjects, but my .css files are not being picked up in the app. Arrgh.


David



Attachment: deployWebObjectsApp
Description: Binary data


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/email@hidden

This email sent to email@hidden

References: 
 >Deploy WO 5.3 on Leopard Server (From: David Holt <email@hidden>)
 >Re: Deploy WO 5.3 on Leopard Server (From: George Domurot <email@hidden>)
 >Re: Deploy WO 5.3 on Leopard Server (From: David Holt <email@hidden>)
 >Re: Deploy WO 5.3 on Leopard Server (From: Pascal Robert <email@hidden>)
 >Re: Deploy WO 5.3 on Leopard Server (From: David Holt <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.