Skip to content

Commit 5eb4893

Browse files
committed
doc: added documentation for vagrant
1 parent 6da1996 commit 5eb4893

File tree

5 files changed

+57
-8
lines changed

5 files changed

+57
-8
lines changed

doc/links_names.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
.. _nibabel: http://nipy.org/nibabel/
1616
.. _nipype: http://nipy.org/nipype/
1717
.. _ConnectomeViewer: http://www.connectomeviewer.org/viewer/
18+
.. _NeuroDebian: http://neuro.debian.net/
1819

1920
.. Documentation tools
2021
.. _graphviz: http://www.graphviz.org/
@@ -73,6 +74,8 @@
7374
.. _pythonxy: http://www.pythonxy.com/
7475
.. _EPD: http://www.enthought.com/products/epd.php
7576
.. _Traits: http://code.enthought.com/projects/traits/
77+
.. _Anaconda: https://store.continuum.io/cshop/anaconda/
78+
.. _Canopy: https://www.enthought.com/products/canopy/
7679

7780
.. Python imaging projects
7881
.. _PyMVPA: http://www.pymvpa.org
@@ -98,6 +101,9 @@
98101
.. _xcode: http://developer.apple.com/TOOLS/xcode
99102
.. _mingw: http://www.mingw.org
100103
.. _macports: http://www.macports.org/
104+
.. _Vagrant: http://www.vagrantup.com/
105+
.. _Docker: http://www.docker.io/
106+
.. _Virtualbox: https://www.virtualbox.org/
101107

102108
.. Functional imaging labs
103109
.. _`functional imaging laboratory`: http://www.fil.ion.ucl.ac.uk

doc/quickstart.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Downloading and installing
1111
:maxdepth: 1
1212

1313
users/install
14+
users/vagrant
1415

1516
Beginner's guide
1617
================

doc/users/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
:maxdepth: 2
1212

1313
install
14+
vagrant
1415

1516
interface_tutorial
1617
caching_tutorial

doc/users/install.rst

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,12 @@ manager.
4545
Mac OS X
4646
~~~~~~~~
4747

48-
The easiest way to get nipype running on Mac OS X is to install EPD_ and then add
49-
nibabel and nipype by executing::
48+
The easiest way to get nipype running on Mac OS X is to install Anaconda_ or
49+
Canopy_ and then add nibabel and nipype by executing::
5050

5151
easy_install nibabel
5252
easy_install nipype
5353

54-
If you are running a 64 bit version of EPD, you will need to compile
55-
ETS. Instructions for a 64-bit boot mode are available:
56-
https://gist.github.com/845545
57-
58-
5954
From source
6055
~~~~~~~~~~~
6156

@@ -131,7 +126,7 @@ Dateutil 1.5 -
131126

132127
.. note::
133128

134-
Full distributions such as pythonxy_ or EPD_ provide the above packages,
129+
Full distributions such as Anaconda_ or Canopy_ provide the above packages,
135130
except Nibabel_.
136131

137132
Strong Recommendations

doc/users/vagrant.rst

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
.. _debug:
2+
3+
======================
4+
Running Nipype in a VM
5+
======================
6+
7+
Container technologies (Vagrant_, Docker_) allow creating and manipulating
8+
lighter weight virtual environments. The Nipype_ source now contains a
9+
Vagrantfile to launch a Vagrant_ VM.
10+
11+
Requirements:
12+
13+
* Vagrant_
14+
* Virtualbox_
15+
16+
After you have installed Vagrant and Virtualbox, you simply need to download the
17+
latest Nipype source and unzip/tar/compress it. Go into your terminal and switch
18+
to the nipype source directory. Make sure the Vagrantfile is in the directory.
19+
Now you can execute::
20+
21+
vagrant up
22+
23+
This will launch and provision the virtual machine.
24+
25+
The default virtual machine is built using Ubuntu Precise 64, linked to the
26+
NeuroDebian_ source repo and contains a 2 node Grid Engine for cluster
27+
execution.
28+
29+
The machine has a default IP address of `192.168.100.20` . From the vagrant
30+
startup directory you can log into the machine using::
31+
32+
vagrant ssh
33+
34+
Now you can install your favorite software using::
35+
36+
sudo apt-get install fsl afni
37+
38+
Also note that the directory in which you call `vagrant up` will be mounted
39+
under `/vagrant` inside the virtual machine.
40+
41+
Please read through Vagrant_ documentation on other features. The python
42+
environment is built using a `miniconda <http://repo.continuum.io/miniconda/>`_
43+
distribution. Hence `conda` can be used to do your package management inside the
44+
VM.
45+
46+
.. include:: ../links_names.txt

0 commit comments

Comments
 (0)