-
Notifications
You must be signed in to change notification settings - Fork 5
/
Vagrantfile
51 lines (41 loc) · 1.66 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# # Original virtual environment
# config.vm.box = "hashicorp/precise64"
# # Formated virtual environment
config.vm.box = "chzoom-1"
config.vm.box_url = "http://beta.chromozoom.org/files/chzoom-1.box"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.synced_folder ".", "/var/www/"
# # Provision setup
# # By default provisions are preinstall. Uncomment to (re)install them.
config.vm.provision "shell", inline: <<-SHELL
# sudo apt-get -y update
# sudo apt-get install -y samtools tabix
# sudo apt-get install -y php5
# sudo apt-get install -y apache2
# sudo apt-get install -y imagemagick curl
# sudo apt-get install -y ruby ruby1.8 rake rubygems
# sudo apt-get install -y libxslt-dev libxml2-dev
# sudo gem install -y bundler
# cd /var/www/ && bundle install
# sudo apt-get -y install mysql-client-core-5.5
# sudo apt-get -y install python-software-properties
# sudo add-apt-repository -y ppa:fkrull/deadsnakes
# sudo apt-get -y update
# sudo apt-get -y install python3.4
# sudo sh -c "wget -O - https://bootstrap.pypa.io/get-pip.py | python3.4"
# sudo pip3.4 install pymysql
# sudo apt-get install -y python3.4-dev
# sudo pip3.4 install lxml
# sudo pip3.4 install pyyaml
# mkdir ~/setup/
# for PROG in bigBedInfo bigBedSummary bigBedToBed bigWigSummary bigWigInfo twoBitToFa bedToBigBed fetchChromSizes
# do
# wget -O ~/setup/"$PROG" http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/"$PROG"
# done
# chmod a+x ~/setup/*
# mv ~/setup/* /usr/bin/
SHELL
end