emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* VM for org-based reproducible environment?
@ 2017-01-23 22:57 Matt Price
  2017-01-24  3:04 ` John Kitchin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Matt Price @ 2017-01-23 22:57 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

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.

Is anyone already doing this? I remember maybe John K. saying something
along these lines a year or so ago, but can't find the details right away.
Would love to steal someone else's setup as I currently know nothing about
docker...

Thanks,
Matt

[-- Attachment #2: Type: text/html, Size: 678 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: VM for org-based reproducible environment?
  2017-01-23 22:57 VM for org-based reproducible environment? Matt Price
@ 2017-01-24  3:04 ` John Kitchin
  2017-01-24  9:19 ` Rasmus
  2017-03-26 18:00 ` Grant Rettke
  2 siblings, 0 replies; 6+ messages in thread
From: John Kitchin @ 2017-01-24  3:04 UTC (permalink / raw)
  To: Matt Price; +Cc: Org Mode

I looked briefly into Docker, but I did not make any progress on it. 

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.
>
> Is anyone already doing this? I remember maybe John K. saying something
> along these lines a year or so ago, but can't find the details right away.
> Would love to steal someone else's setup as I currently know nothing about
> docker...
>
> Thanks,
> Matt


-- 
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: VM for org-based reproducible environment?
  2017-01-23 22:57 VM for org-based reproducible environment? Matt Price
  2017-01-24  3:04 ` John Kitchin
@ 2017-01-24  9:19 ` Rasmus
  2017-01-24 19:03   ` Matt Price
  2017-03-26 18:00 ` Grant Rettke
  2 siblings, 1 reply; 6+ messages in thread
From: Rasmus @ 2017-01-24  9:19 UTC (permalink / raw)
  To: emacs-orgmode

Matt Price <moptop99@gmail.com> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: VM for org-based reproducible environment?
  2017-01-24  9:19 ` Rasmus
@ 2017-01-24 19:03   ` Matt Price
  2017-01-25 15:11     ` Rasmus
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Price @ 2017-01-24 19:03 UTC (permalink / raw)
  To: Rasmus, Org Mode

[-- Attachment #1: Type: text/plain, Size: 1618 bytes --]

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 <rasmus@gmx.us> wrote:

> Matt Price <moptop99@gmail.com> 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
>
>
>

[-- Attachment #2: Type: text/html, Size: 2225 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: VM for org-based reproducible environment?
  2017-01-24 19:03   ` Matt Price
@ 2017-01-25 15:11     ` Rasmus
  0 siblings, 0 replies; 6+ messages in thread
From: Rasmus @ 2017-01-25 15:11 UTC (permalink / raw)
  To: emacs-orgmode

Matt Price <moptop99@gmail.com> writes:

> I'm really interested in the gitlab-ci part of this -- can you describe?

Here's a very simple example using Org to publish a website via gitlab-ci.

       https://gitlab.com/pages/org-mode

> Do you think it will translate to travis on github?

Undoubtedly, but I haven't used Travis.  It looks like .travis.yml is a
bit more verbose than the corresponding .gitlab.yml, and docker seems to
be less integrated.  It should still be possible

    https://docs.travis-ci.com/user/customizing-the-build/

> 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 only report issues on Gitlab.

As I occasionally need private repos and git-annex support I usually use
gitlab.com.

Regards,
Rasmus

-- 
And I faced endless streams of vendor-approved Ikea furniture. . .

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: VM for org-based reproducible environment?
  2017-01-23 22:57 VM for org-based reproducible environment? Matt Price
  2017-01-24  3:04 ` John Kitchin
  2017-01-24  9:19 ` Rasmus
@ 2017-03-26 18:00 ` Grant Rettke
  2 siblings, 0 replies; 6+ messages in thread
From: Grant Rettke @ 2017-03-26 18:00 UTC (permalink / raw)
  To: Matt Price; +Cc: Org Mode

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

On Mon, Jan 23, 2017 at 4:57 PM, Matt Price <moptop99@gmail.com> wrote:

> Is anyone already doing this? I remember maybe John K. saying something
> along these lines a year or so ago, but can't find the details right away.
>

Not quite yet but it will be Ubuntu, VirtualBox and Packer when I do so it
is easy for every OS that supports vbox.

[-- Attachment #2: Type: text/html, Size: 687 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-26 18:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-23 22:57 VM for org-based reproducible environment? Matt Price
2017-01-24  3:04 ` John Kitchin
2017-01-24  9:19 ` Rasmus
2017-01-24 19:03   ` Matt Price
2017-01-25 15:11     ` Rasmus
2017-03-26 18:00 ` Grant Rettke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).