There is also this document: http://zn.stfx.eu/zn/build-and-deploy-1st-webapp A bit old, but still.
On 21 Jan 2015, at 16:19, sergio_101 <sergio.rrd@gmail.com> wrote:
okay.. thanks your all your input! i have gotten this to work..
i tried pulling the files from the server, but was getting an issue with 'pharo' not found.. which was odd in that it was in the directory, and it had execute permissions. it had several executable files in it, but i am not sure what was wrong with it. i didn't stick around too long..
i then grabbed it from the PPA..
i installed pharo-vm-core, rather than the launcher..
this gave me pharo-vm-nox. .which i assumed meant that it was headless..
i fired this up, and everything works just fine.. the web interface works correctly, as does the RFB interface..
looks like we're good to go..
i do think that this should be documented in full somewhere.
my offer still stands to write/update/host such info..
thanks!
On Wed Jan 21 2015 at 8:43:16 AM sergio_101 <sergio.rrd@gmail.com> wrote: Hey, all..
Thanks for the tips! i am going to try this out in a bit..
Is there any place where this info is available to those who are searching for it?
I found the above at the documentation for seaside:
http://book.seaside.st/book/advanced/deployment/deployment-apache/run-vm
if you search around for this info, you will find that it all mirrors the above..
is the online seaside book still being maintained? is there a place where users can go to find up to date information?
if not, i would be willing to help spearhead such a mission, and to host it, too..
let me know..
On Wed Jan 21 2015 at 6:29:02 AM olivier auverlot <olivier.auverlot@gmail.com> wrote: Yes, don't forget no-quit
My starting file for Seaside is:
#!/bin/sh USER="www-data" VM="/usr/bin/pharo" VM_PARAMS="--mmap 256m -vm-sound-null -vm-display-null" IMAGE="/opt/myApp/Pharo3.0.image"
exec \ setuidgid "$USER" \ "$VM" $VM_PARAMS "$IMAGE" \ --no-quit
Olivier ;-)
2015-01-21 12:14 GMT+01:00 Esteban Lorenzano <estebanlm@gmail.com>:
On 21 Jan 2015, at 10:31, nacho <0800nacho@gmail.com> wrote:
philippeback wrote
why running pharo with a squeakvm?
I do it, in my Raspberry Pi :p and its slowwww
I am runnin headless with PharoVM here.
Your vm params look like weird.
I'll give you a copy of my CLI when I have access to my Pc.
Phil Le 21 janv. 2015 03:59, "sergio_101" <
sergio.rrd@
> a écrit :
#!/bin/bash
# settings USER="badgesoup" VM="/usr/lib/squeak/4.10.2-2614/squeakvm" VM_PARAMS="-mmap 256m -vm-sound-null -vm-display-null" IMAGE="/home/badgesoup/badgesoup_image/Pharo3.0.image"
# start the vm exec \ setuidgid "$USER" \ "$VM" $VM_PARAMS "$IMAGE"
On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo <
emaringolo@
wrote:
What is in the 'run' file?
Esteban A. Maringolo
2015-01-20 23:26 GMT-03:00 sergio_101 <
sergio.rrd@
>:
i am ready to put my seaside app online, and am finding that all the information i am finding is outdated.
where are you looking for such information?
I am running the latest Pharo (as of last night), and ubuntu14.04.
when i try to run using squeakvm, i get:
$ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources.
Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is xxxxxxxxx.
everywhere i look, the information seems several years old..
ideas? thanks!
you should not use it a squeak vm with pharo ;) why would you do that?
Esteban
----- Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/Running-Pharo-headless-tp4800750p4800768.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.