On 29 May 2020, at 14:19, Mark Guzdial <mjguz@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 <sven@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 <mjguz@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