From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: VM for org-based reproducible environment? Date: Tue, 24 Jan 2017 14:03:08 -0500 Message-ID: References: <871svs24sz.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ff00c4a90420546dbc4a8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW6N5-0006XT-1q for emacs-orgmode@gnu.org; Tue, 24 Jan 2017 14:03:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cW6N3-0004IJ-UB for emacs-orgmode@gnu.org; Tue, 24 Jan 2017 14:03:11 -0500 Received: from mail-io0-x22e.google.com ([2607:f8b0:4001:c06::22e]:34540) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cW6N3-0004Hg-Pp for emacs-orgmode@gnu.org; Tue, 24 Jan 2017 14:03:09 -0500 Received: by mail-io0-x22e.google.com with SMTP id l66so142999359ioi.1 for ; Tue, 24 Jan 2017 11:03:09 -0800 (PST) In-Reply-To: <871svs24sz.fsf@gmx.us> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Rasmus , Org Mode --001a113ff00c4a90420546dbc4a8 Content-Type: text/plain; charset=UTF-8 I'm really interested in the gitlab-ci part of this -- can you describe? Do you think it will translate to travis on github? I'd prefer to continue using github if I can since there's so much infrastructure there, and I tend to use the web interface in my teaching. I hadn't even heard of guix, it looks intriguing, thanks. On Tue, Jan 24, 2017 at 4:19 AM, Rasmus wrote: > Matt Price writes: > > > I'd like to provide a way for people to copy my course materials in the > > easiest possible way. At present my export & grading processes rely on > some > > customization of various tools, mostly emacs-based. So I'm thinking the > > easiest thing might be fore me to define a virtual machine, maybe > > docker-based, and distribute that. > > Docker might be handy if you need a whole array of tools, say R, Org, a > number of libraries etc etc. It's not too complicated to created new > docker images and you can host/compile them on "dockerhub". You can find > the files that create docker images on e.g. github. > > Personally, I use an external config.el file to publish files against the > ELPA version of Org. > > Something like, > > emacs --batch --no-init-file --load paper-config/org-conf.el > --find-file $1 --funcall $2 > > In addition, I compile the papers with gitlab-ci. You can include > instructions of what software is needed in the .gitlab-ci.yml. > > You might also be able to use something like Guix. I think it can even be > used to create docker images these days. > > Hope it helps, > Rasmus > > -- > History is what should never happen again > > > --001a113ff00c4a90420546dbc4a8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm really interested in the gitlab-ci part of th= is -- can you describe? Do you think it will translate to travis on github?= I'd prefer to continue using github if I can since there's so much= infrastructure there, and I tend to use the web interface in my teaching.= =C2=A0

I hadn't even heard of guix, it looks intriguing, = thanks.=C2=A0

On Tue, Jan 24, 2017 at 4:19 AM, Rasmus <rasmus@gmx.us> w= rote:
Matt Price <moptop99@gmail.com> writes:

> I'd like to provide a way for people to copy my course materials i= n the
> easiest possible way. At present my export & grading processes rel= y on some
> customization of various tools, mostly emacs-based. So I'm thinkin= g the
> easiest thing might be fore me to define a virtual machine, maybe
> docker-based, and distribute that.

Docker might be handy if you need a whole array of tools, say R, Org= , a
number of libraries etc etc.=C2=A0 It's not too complicated to created = new
docker images and you can host/compile them on "dockerhub".=C2=A0= You can find
the files that create docker images on e.g. github.

Personally, I use an external config.el file to publish files against the ELPA version of Org.

Something like,

=C2=A0 =C2=A0 emacs --batch --no-init-file --load paper-config/org-conf.el = --find-file $1 --funcall $2

In addition, I compile the papers with gitlab-ci.=C2=A0 You can include
instructions of what software is needed in the .gitlab-ci.yml.

You might also be able to use something like Guix.=C2=A0 I think it can eve= n be
used to create docker images these days.

Hope it helps,
Rasmus

--
History is what should never happen again



--001a113ff00c4a90420546dbc4a8--