Skip to content

Commit 2f4d19f

Browse files
committed
fix: cleaned up install script
1 parent 569a37f commit 2f4d19f

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

Vagrantfile

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,31 @@
11
VAGRANTFILE_API_VERSION = "2"
22

33
$script = <<SCRIPT
4-
echo I am provisioning...
5-
echo `whoami`
6-
sudo apt-get update -qq
4+
5+
# Following section commented out as gridengine requires interactive
6+
# components
7+
# # Install neurodebian repo
8+
# bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
9+
#
10+
# # Install grid engine
11+
# sudo apt-get install -qq gridengine-master gridengine-exec gridengine-client gridengine-qmon
12+
# # Configure: http://wiki.unixh4cks.com/index.php/Setting_up_Sun_Grid_Engine_on_Ubuntu
13+
# sudo -u sgeadmin qconf -am vagrant
14+
# qconf -au vagrant users
15+
# qconf -as neuro
16+
# qconf -ahgrp @allhosts
17+
# qconf -aattr hostgroup hostlist neuro @allhosts
18+
# qconf -aq main.q
19+
# qconf -aattr queue hostlist @allhosts main.q
20+
# qconf -aattr queue slots "2, [neuro=3]" main.q
21+
22+
# install anaconda
723
wget http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh -O miniconda.sh
824
chmod +x miniconda.sh
925
./miniconda.sh -b
10-
echo `whoami`
1126
echo "export PATH=$HOME/anaconda/bin:\\$PATH" >> .bashrc
12-
# sudo bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
27+
28+
# install nipype dependencies
1329
$HOME/anaconda/bin/conda install --yes pip numpy scipy nose traits networkx
1430
$HOME/anaconda/bin/conda install --yes dateutil ipython-notebook
1531
$HOME/anaconda/bin/pip install nibabel --use-mirrors
@@ -23,6 +39,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
2339
config.vm.define :engine do |engine_config|
2440

2541
engine_config.vm.box = "gridneuro"
42+
#engine_config.vm.box_url = "http://files.vagrantup.com/precise64.box"
2643
engine_config.vm.box_url = "https://dl.dropboxusercontent.com/u/363467/precise64_neuro.box"
2744
engine_config.vm.network :forwarded_port, guest: 80, host: 8080
2845

0 commit comments

Comments
 (0)