aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorZachary Sloan2013-07-10 15:34:31 -0500
committerZachary Sloan2013-07-10 15:34:31 -0500
commitd56f54d23b9f1621049e4cf62049e17e21b88201 (patch)
tree5bb1b95cf64d6200b77f929814a9aeb64da10c62 /misc
parentc0b7da4b4c2bd98353eb980402075318010a79a3 (diff)
downloadgenenetwork2-d56f54d23b9f1621049e4cf62049e17e21b88201.tar.gz
Updated gn_installation_notes
Diffstat (limited to 'misc')
-rw-r--r--misc/gn_installation_notes.txt112
1 files changed, 67 insertions, 45 deletions
diff --git a/misc/gn_installation_notes.txt b/misc/gn_installation_notes.txt
index e31273b1..11bda48c 100644
--- a/misc/gn_installation_notes.txt
+++ b/misc/gn_installation_notes.txt
@@ -49,30 +49,6 @@ apt-file search _______
============================================
-Install pip:
-sudo apt-get install python-pip
-
-REMEMBER TO SOURCE VE BEFORE INSTALLING
-
-Comment out in requirements.txt:
-Reaper
-numarray
-
-Install from requirements.txt (after activating virtualenv):
-pip install -r gene/misc/requirements.txt
-
-When it hits error with install MySQL-Python, install libmysqlclient-dev:
-sudo apt-get install libmysqlclient-dev
-
-When hits error with numpy install python-dev:
-sudo apt-get install python-dev
-
-When hits error with scipy:
-sudo apt-get install libatlas-base-dev gfortran g++
-
-
-============================================
-
Create trash directory:
mkdir ~/.trash
@@ -85,19 +61,6 @@ dpkg -l | less
===========================================
-Using Yolk
-
-Install Yolk:
-pip install yolk
-
-Check packages installed in this virtual environment:
-yolk -l
-
-Checks packages that have updates available:
-yolk -U
-
-===========================================
-
Installing virtualenv:
sudo pip install virtualenv
@@ -109,20 +72,31 @@ source ~/ve27/bin/activate
===========================================
-Installing yaml
+Install libmysqlclient-dev (Mysql-Python dependency)
+sudo apt-get install libmysqlclient-dev
-Install libyaml-dev:
-sudo apt-get install libyaml-dev
+Install python-dev (numpy dependency)
+sudo apt-get install python-dev
-Install yaml:
-pip install pyyaml
+Install scipy dependencies:
+sudo apt-get install libatlas-base-dev gfortran g++
===========================================
-Install MySQL Client
+Install pip:
+sudo apt-get install python-pip
-To fix error "mysql_config not found" while installing packages with pip:
-sudo apt-get install libmysqlclient-dev
+REMEMBER TO SOURCE VE BEFORE INSTALLING
+
+Comment out in requirements.txt:
+Reaper
+numarray
+
+Before installing from requirements.txt, install numpy separately:
+pip install numpy==1.7.0 (or whatever version we're using)
+
+Install from requirements.txt (after activating virtualenv):
+pip install -r gene/misc/requirements.txt
===========================================
@@ -145,6 +119,54 @@ sudo python setup.py install
===========================================
+Installing nginx
+
+sudo -s
+nginx=stable # use nginx=development for latest development version
+echo "deb http://ppa.launchpad.net/nginx/$nginx/ubuntu lucid main" > /etc/apt/sources.list.d/nginx-$nginx-lucid.list
+apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C300EE8C
+apt-get update
+apt-get install nginx
+
+Create configuration file in ~/gene/wqflask/other_config/nginx_conf/ (modeled off of the others)
+Create symbolic link to config file in /etc/nginx/sites-enabled/:
+ln -s dir_to_link_to linking_dir
+
+Run nginx:
+sudo /usr/sbin/nginx
+
+============================================
+
+Using Yolk
+
+Install Yolk:
+pip install yolk
+
+Check packages installed in this virtual environment:
+yolk -l
+
+Checks packages that have updates available:
+yolk -U
+
+===========================================
+
+Installing yaml
+
+Install libyaml-dev:
+sudo apt-get install libyaml-dev
+
+Install yaml:
+pip install pyyaml
+
+===========================================
+
+Install MySQL Client
+
+To fix error "mysql_config not found" while installing packages with pip:
+sudo apt-get install libmysqlclient-dev
+
+===========================================
+
Installing R
sudo apt-get install r-base-dev