Re: [Pharo-users] Getting Pharo running on AWS

2020-05-29 Thread Mariano Martinez Peck
Hi Mark, Something you may want to consider in the future is to use Docker. You can easily deploy Docker images with Pharo and you can also use `docker-machine` to create and manage your AWS EC2 instances. I recently wrote a blog post about that but with VA Smalltalk: https://dev.to/martinezpeck/d

Re: [Pharo-users] Getting Pharo running on AWS

2020-05-29 Thread Sven Van Caekenberghe
> On 29 May 2020, at 14:19, Mark Guzdial wrote: > > Thanks, Sven. Yes, there’s a big learning curve to be able to use your > scripts, but they do seem powerful. > > I’m trying to work my way through your minimal-pharo-server-tools. I’m using > these scripts right now: > > $ git clone htt

Re: [Pharo-users] Getting Pharo running on AWS

2020-05-29 Thread Mark Guzdial
Thanks, Sven. Yes, there’s a big learning curve to be able to use your scripts, but they do seem powerful. I’m trying to work my way through your minimal-pharo-server-tools. I’m using these scripts right now: $ git clone https://github.com/svenvc/minimal-pharo-server-tools.git $ ~/minimal-ph

Re: [Pharo-users] Getting Pharo running on AWS

2020-05-29 Thread Sven Van Caekenberghe
> On 29 May 2020, at 08:43, Sven Van Caekenberghe wrote: > > Hi Mark, > > There is of course a significant learning curve here. You will need to > understand what Metacello is, Monticello & Iceberg (GitHub) repositories, > ConfigurationOfXXX & BaselineOfXXX. > > The books are good starting

Re: [Pharo-users] Getting Pharo running on AWS

2020-05-28 Thread Sven Van Caekenberghe
Hi Mark, There is of course a significant learning curve here. You will need to understand what Metacello is, Monticello & Iceberg (GitHub) repositories, ConfigurationOfXXX & BaselineOfXXX. The books are good starting points. This is another recent thread: http://forum.world.st/running-Pharo8

Re: [Pharo-users] Getting Pharo running on AWS

2020-05-28 Thread Mark Guzdial
While I’m asking newbie questions, perhaps you could explain this example in the Enterprise book: What is http://www.smalltalkhub.com/mc/Me/MyApp/main here? Is ConfigurationOfMyApp my name, or is it a command line parameter? Thanks! - Mark

Re: [Pharo-users] Getting Pharo running on AWS

2020-05-28 Thread Mark Guzdial
THANK YOU, SVEN! That totally worked! It *didn’t* work when I tried to access the instance from a browser. (The curl to localhost did work.) I figured out that I also had to edit the AWS Security Groups to allow port 9090. But once I did that, I reached Pharo running on AWS from an external we

Re: [Pharo-users] Getting Pharo running on AWS

2020-05-28 Thread Sven Van Caekenberghe
Mark, Make sure to use 64-bit (that is 64-bit Pharo on 64-bit Linux), it will make your life much easier. Here is a short example: stfx@audio359:~$ mkdir pharo8 stfx@audio359:~$ cd !$ cd pharo8 stfx@audio359:~/pharo8$ curl get.pharo.org/64/80+vm | bash % Total% Received % Xferd Average

Re: [Pharo-users] Getting Pharo running on AWS

2020-05-28 Thread Mark Guzdial
I did try without snap. That's when I was getting an error about being able to set a priority for a separate thread. I don't have that verbatim. Here's the content of the pharo script: #!/usr/bin/env bash # some magic to find out the real location of this script dealing with symlinks DIR=`read

Re: [Pharo-users] Getting Pharo running on AWS

2020-05-28 Thread Stéphane Ducasse
mark can you show us the contents of the pharo command because may be it is wrapping the Pharo command. did you try without snap (no idea what is it). Did you the script of sven because they work without snap. S > On 28 May 2020, at 18:23, Mark Guzdial wrote: > > Hi everyone, > > New here,

Re: [Pharo-users] Getting Pharo running on AWS

2020-05-28 Thread Mark Guzdial
You mean what went wrong before Pharo Snap? I don't have those error messages anymore. When I find the time, I'll try to start over again. Can you help me interpret the messages I do have? Are those Pharo-Snap specific or are those Pharo command line messages? Thanks! - Mark -- Mark Guzd

Re: [Pharo-users] Getting Pharo running on AWS

2020-05-28 Thread Stéphane Ducasse
You see I told you :) S. > On 28 May 2020, at 18:23, Mark Guzdial wrote: > > Hi everyone, > > New here, encouraged (from Discord) to try my questions here. > > I’m struggling to get AWS to run in an Ubuntu AWS instance. I tried > following the directions here: > https://ci.inria.fr/pharo-

Re: [Pharo-users] Getting Pharo running on AWS

2020-05-28 Thread Sven Van Caekenberghe
Hi Mark, I can't help you with pharo-snap. But the installation instructions from the Enterprise book, using the command line zero config tools, should still apply and work. What exactly did go wrong ? Sven > On 28 May 2020, at 18:23, Mark Guzdial wrote: > > Hi everyone, > > New here, enco

[Pharo-users] Getting Pharo running on AWS

2020-05-28 Thread Mark Guzdial
Hi everyone, New here, encouraged (from Discord) to try my questions here. I’m struggling to get AWS to run in an Ubuntu AWS instance. I tried following the directions here: https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/DeploymentWeb/De