For books, there is the docker-texlive thing from Damien that we
looked into yesterday because TexLive was giving some headaches.

https://github.com/philippeback/docker-texlive

has my current thing for one to build a container with all
prerequisites for TexLive and Pharo installed.

Idea is to clone the book repo on the host and get into an container
to build the book.

There is a /work volume that can be mapped onto the host with the
docker run's -v command.

Then just use ./download.sh in there to install Pharo and pillar in
the container. Do not do that in the host or you'll end up with wrong
versions (like my host is CentOS and the container is Ubuntu, even
worse with host is macOS or Windows).

Then "make book" should give a book in build/
There is a "make wipeout" command that obliterates the build folder
for good so you can start clean. No harm done on your files.

Will document more of this but woul dbe nice if someone could check
this out too.

There is a script in base/ to build the docker image.

Phil

On Sat, May 6, 2017 at 9:20 AM, Stephane Ducasse
<stepharo.s...@gmail.com> wrote:
> I fixed it.
> The code for the web site in on github.
>
> Stef
>
> On Tue, May 2, 2017 at 10:32 PM, Esteban A. Maringolo <emaring...@gmail.com>
> wrote:
>>
>> Correct link seems to be
>>
>>
>> http://files.pharo.org/books-pdfs/booklet-Glorp/2017-05-02-Glorp.spiral.pdf
>> Esteban A. Maringolo
>>
>>
>> 2017-05-02 17:28 GMT-03:00 p...@highoctane.be <p...@highoctane.be>:
>> > link for glorp gives smacc book error
>> >
>> > On Tue, May 2, 2017 at 10:25 PM, Stephane Ducasse
>> > <stepharo.s...@gmail.com>
>> > wrote:
>> >>
>> >> Hi Pharoers
>> >>
>> >> You are lucky. The "Pharo booklet collection" edited by S. Ducasse is
>> >> arriving...
>> >>
>> >> Are you ready to read nice and focused booklets?
>> >>
>> >> You can find at http://files.pharo.org/books/ in beta version:
>> >>
>> >> Smacc: the Smalltalk Compiler Compiler by J. Brant, T. Goubier, J.
>> >> Lecerf
>> >> and S. Ducasse.
>> >> Glorp: the Object Relational Mapper framework by E. Maringolo, N. Pratt
>> >> and R. Withney
>> >>
>> >> All the book material is hosted on
>> >> https://github.com/SquareBracketAssociates so you can contribute! Fix
>> >> typos
>> >> and propose new material.
>> >>
>> >> We are planning a booklet on Magritte, Reddit in 10 cool classes,
>> >> Voyage,
>> >> and Mocking with BabyMock and Mocketry, XML (but we need a writer) and
>> >> potentially PetitParser.
>> >>
>> >> If you have material for a tutorial and you would like to be part of
>> >> the
>> >> Pharo Booklet Collection contact S. Ducasse.
>> >>
>> >> S. Ducasse
>> >
>> >
>>
>

Reply via email to