Hi,

As a first step, I reorganized our current code and scripted the docker
part. Assume you have Docker
<https://docs.docker.com/installation/ubuntulinux/> and Vagrant
<http://www.vagrantup.com/downloads.html> installed on your system (that
is, command docker and vagrant runs), then the following one-liner will
install FEniCS in a linux container:

curl -sL
https://bitbucket.org/lzlarryli/fenics-docker/downloads/fenics-docker.sh |
bash

It will let you choose between development source build or stable binaries,
then install FEniCS, and finally give instructions to run demos.  The
source and documentation can be found at: (
https://bitbucket.org/lzlarryli/fenics-docker). It should run smoothly on
most linux distributions. I do no have a mac to test whether it works or
not. Feel free to test and comments are welcome.

Once this is accepted into the official repo, then a short section can be
added to the "Download" section of fenics-web to get the user started.
Further instructions will be referred to the README.md in the repo.

Garth's work on virtualbox backend is of a different nature and is harder
to script. Based on his current work, I think it is better to make an
official FEniCS virtualbox image with GUI Ubuntu and FEniCS installed. Then
that can be offered separately on the FEniCS download page. It will be a
complete, easy, and visual install (no command-line or scripts). After all,
Virtualbox on its own is a lot easier to use than vagrant or docker for
inexperienced users. Virtualbox also has a lot better Mac and Windows
support.

Best regards,
Larry.

On Mon, Feb 16, 2015 at 10:17 AM, Anders Logg <[email protected]> wrote:

> Great! A few things need to happen:
>
> 0. The fenics-virtual repo needs to be moved into an official FEniCS
> repository. I suggest putting it in a subdirectory 'virtual' in the FEniCS
> developer tools repository.
>
> 1. Putting the script on the web page happens via a cronjob (fetching from
> the bitbucket repository). I can set this up when the script is in place.
>
> 2. For the web page, I would prefer a very short instruction (like we have
> for fenics-install.sh) that can be added to the download page, perhaps with
> an additional link to more information. Make a pull request for the
> fenics-web repository.
>
> Thanks!
> --
> Anders
>
>
> Mon Feb 16 2015 at 5:10:15 PM skrev Lizao Li <[email protected]>:
>
>>  Hi,
>>
>>  I can reorganize the current documentation for fenics-virtual and write
>> some instructions for the web page. I propose to have something similar to
>> what we have for hashdist, where we have a link to a script which prints
>> simple instructions as well as download and execute the installation script
>> to get people started. We then have another page for some further
>> informations for customizations. I have two questions for the maintainers
>> of fenics-web:
>>  1. I want to emulate the way fenics-install.sh is served on the
>> webpage, that is, "curl -s http://fenicsproject.org/fenics-install.sh |
>> bash". It seems that script is not in the fenics-web repo. So I am
>> wondering where and how this is implemented.
>>  2. For the instructions for customization, is it preferred to have it
>> written using the fenics-web rst for a consistent style? Or an extra page
>> is not preferred and a link to some bitbucket md file is the way to go?
>>
>>  Best regards,
>> Larry.
>>
>> On Fri, Feb 6, 2015 at 2:56 AM, Anders Logg <[email protected]> wrote:
>>
>>> Hi again,
>>>
>>> Yes, having the Conda package installations on the web page would be
>>> great.
>>>
>>>  I must admit I don't understand how Conda works - should it be viewed
>>> as binary packaging, as a virtualization thing, or something in between?
>>> Where does it fit into the installation instructions? Think about it and
>>> suggest a patch / pull request for the web page repository.
>>>
>>>  We should also get the fenics-virtual efforts on the web page. Are
>>> they ready to be included? Garth? Jack? Lizao?
>>>
>>>  For all these options to install, we should think about the level of
>>> commitment we want to give for support. For the binary packages (Debian,
>>> Ubuntu, Mac), we have Johannes, for fenics-install.sh, we have Johannes +
>>> the implicit support through HashDist/HashStack.
>>>
>>>  --
>>> Anders
>>>
>>>
>>>
>>> Sat Jan 31 2015 at 12:45:24 PM skrev Juan Luis Cano <[email protected]
>>> >:
>>>
>>>> Hello,
>>>>
>>>> I missed this email because I was not subscribed to the list until
>>>> recently.
>>>>
>>>> I am very interested in contributing installation instructions to the
>>>> FEniCS web for the conda packages. Do I have to sign the contributor
>>>> agreement first?
>>>>
>>>> Regards,
>>>>
>>>> Juan Luis Cano
>>>>
>>>
>>> _______________________________________________
>>> fenics mailing list
>>> [email protected]
>>> http://fenicsproject.org/mailman/listinfo/fenics
>>>
>>>
>>
>>
>> --
>>   Lizao (Larry) Li
>>  Univeristy of Minnesota
>>
>


-- 
Lizao (Larry) Li
Univeristy of Minnesota
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to