[Pharo-project] installing a cog image to deploy pier
i have my pier site ready to deploy on my server. unfortunately, i don't have a cog vm installed on my server.. it's just an old squeak vm i had from the past.. i know i can either use the vm that came with my one click image, or i can use one from here: http://www.mirandabanda.org/files/Cog/VM/ but i am not sure how to install it. i have tried a few different things that i thought made sense, but they didn't work.. anyone have any ideas? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101
On 22/11/10 6:43 PM, sergio_101 wrote:
http://www.mirandabanda.org/files/Cog/VM/
but i am not sure how to install it.
i have tried a few different things that i thought made sense, but they didn't work..
anyone have any ideas?
Create a squeakvm directory somewhere on your server. Download the coglinux.tgz file from the link above, to the squeakvm directory. Un-tar and un-gzip it using: tar -ztvf coglinux.tgz Create a shell script to start your image. The shell script should contain something like (adjust the directory to be where you created your squeakvm directory): ========== #!/bin/bash # vm configuration if [ `uname` = "Linux" ] then PHARO_VM="/home/yanni/apps/squeakvm/coglinux/bin/squeak" PHARO_PARAM="-mmap 100m -vm-sound-null -vm-display-X11 -headless" elif [ `uname` = "Darwin" ] then PHARO_VM="/Users/yanni/apps/squeakvm/Cog.app/Contents/MacOS/Croquet" PHARO_PARAM="-headless" else echo "Unsupported OS: `uname`" exit 1 fi # start the vm "$PHARO_VM" $PHARO_PARAM "$IMAGE" "$SCRIPT" ==========
participants (2)
-
sergio_101 -
Yanni Chiu