2010/5/12 Mariano Martinez Peck <marianopeck@gmail.com>


2010/5/12 Andrei Stebakov <lispercat@gmail.com>


2010/5/12 Mariano Martinez Peck <marianopeck@gmail.com>



2010/5/12 Andrei Stebakov <lispercat@gmail.com>

Currently I have my web applications running on a Ubuntu box to which I connect from a remote WinXP system via ssh.

I guess the subject should be "remote" instead of "remove"� ?� ;)

Sorry I ask but why not you cannot just develop in your pc and with scp or similar you copy the .image and .image file trough ssh to the server ?
Good question. Somehow historically I've installed a bunch of useful linux libraries on that Ubuntu box which are not even available on Windows. Secondly my web app will work with a bunch of graphical images (lots of GB) so I can't imagine synchronizing it with my Win system. Sure if there is no other good way (for Pharo), I'll try to adapt to the local development, but so far the remote development worked well for me.

Ok...Understood. What about having normal VNC running in that Linux box and accessing with a Windows client ?

My current set of tools is Lisp/Slime/Emacs.
I tried to launch Pharo with X11 forwarding using X-server on WinXP, but it painfully slow (the Pharo main windows redraws in a few minutes).
I am really thinking developing some web app using Pharo/Seaside (I am liking the language more and more!) but I need to know to do it remotely via a secure connection.


Yes, there is an implementation of the VNC protocolol. You can take a Pharo image and load a VNC server. Then, you can connect to any VNC client and what you see is the image....Then you can do whatever you want. I don't know the performance, thus.

That package is called RFB (remote something buffer)

http://book.seaside.st/book/advanced/deployment/maintaining/vnc

To install it:

Gofer it
�squeaksource: 'MetacelloRepository';
�package: 'ConfigurationOfRFB';
�load.
((Smalltalk at: #ConfigurationOfRFB) project perform: #latestVersion)
load.

How do I install packages to the remote Pharo if I only have a command line access to it via ssh?

Maybe I don't understand. At the beginning, at least once, you will have to copy the image and put it in the server. Before doing that, take that image in your desktop app, install RFB, START IT (don't forget this), and SAVE the image after doing that. Then, when you start the image in the server, the RFB objects will be alive and the VNC will be working ;)

Enjoy the wonderful smalltalk world ;)
This sounds great. Let's say I've updated and installed all packages to the pharo image on my Win machine, copied it over to the linux system. Now if I start pharo (headless?) I should be able to control if from anywhere (I still wonder about being behind a firewall).
What's the command to start pharo headless on linux?


Cheers

Mariano


Thank you,
Andrei

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project