-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
23 lines (18 loc) · 827 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
### Installation
## Follow the steps outlined below to set up a web accessible area to deploy the webapp:
## Install mod_wsgi against python2.7
cd ~/ && mkdir Downloads && cd Downloads
wget https://github.com/GrahamDumpleton/mod_wsgi/archive/4.4.8.tar.gz
tar -zxf 4.4.8.tar.gz
cd mod_wsgi-4.4.8/
./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/local/bin/python
make
make install
## Retrieve the public IP address (xxx.xxx.x.xxx) of your machine
dig +short myip.opendns.com @resolver1.opendns.com
## Run the setup script
## Takes 3 parameters: webapp dir, path to httpd and the public IP address of machine
./setup.sh /var/www/markerminer /path/to/httpd xxx.xxx.x.xxx
## Once setup is completed and apache is restarted,
## navigate to web-browser and type in the IP address
## of the machine to access the webapp