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/deploying-vasmalltalk-on-amazon-aws-arm-servers-aan

Best,






On Fri, May 29, 2020 at 9:30 AM Sven Van Caekenberghe <s...@stfx.eu> wrote:

>
>
> > On 29 May 2020, at 14:19, Mark Guzdial <mj...@umich.edu> 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 https://github.com/svenvc/minimal-pharo-server-tools.git
> >
> > $ ~/minimal-pharo-server-tools/install.sh
> > $ cd build && ~/pharo/build.sh
> > $ ~/minimal-pharo-server-tools/run/pharo-http-server/deploy.sh
> > $ sudo systemctl start pharo-http-server
> >
> > Cloning and installing went fine. I’m working on this line "cd build &&
> ~/pharo/build.sh.”  There is no build directory in cloned git repository.
> There is a build.sh, but it has hard-coded references to the directory
> pharo (as in the line).  There is no directory pharo in the repository, and
> it doesn’t get created in install.sh.  Should I be renaming the
> server-tools directory as pharo?  Or should I be installing pharo inside
> the repository structure?
> >
> > tl;dr: What directory structure do your tools expect, and what do I have
> to create (vs what your scripts create)?
>
> Yes, there was a small typo there: there is no ~/build directory, there is
> a ~/pharo directory, which gets created when you run the install.sh script.
>
> Later, the deploy.sh script creates the ~/pharo-http-server directory
> where the example server/services runs from.
>
> > Thanks!
> >  - Mark
> >
> >
> >> On May 29, 2020, at 2:43 AM, Sven Van Caekenberghe <s...@stfx.eu>
> 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 points.
> >>
> >> This is another recent thread:
> http://forum.world.st/running-Pharo8-in-Digitalocean-tt5115160.html
> >>
> >> HTH,
> >>
> >> Sven
> >>
> >>> On 29 May 2020, at 02:07, Mark Guzdial <mj...@umich.edu> wrote:
> >>>
> >>> While I’m asking newbie questions, perhaps you could explain this
> example in the Enterprise book:
> >>>
> >>> <PastedGraphic-1.png>
> >>>
> >>> What is http://www.smalltalkhub.com/mc/Me/MyApp/main here?  Is
> ConfigurationOfMyApp my name, or is it a command line parameter?
> >>>
> >>> Thanks!
> >>> - Mark
> >>>
> >>>
> >>
> >>
> >
>
>
>

-- 
Mariano Martinez Peck
Email: marianop...@gmail.com
Twitter: @MartinezPeck
LinkedIn: www.linkedin.com/in/mariano-martinez-peck
<https://www.linkedin.com/in/mariano-mart%C3%ADnez-peck/>
Blog: https://marianopeck.wordpress.com/

Reply via email to