Jan 28, 2016

0 pywb - Python WayBack install manual




This is a extremely basic pywb install manual to help you get up and running it.

1. Install prerequisites for Python before installing it.

{
sudo apt-get update ;
sudo apt-get install build-essential checkinstall ;
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev ;
sudo apt-get install python-setuptools python-pip ;
sudo pip install --upgrade pip ;
sudo pip install --upgrade virtualenv ;
}

2. Download Python and compile

{
cd /usr/src ;
wget https://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz ;
tar xzf Python-2.7.3.tgz ;
cd Python-2.7.3 ;
sudo ./configure ;
sudo make ;
sudo make altinstall ;
python2.7 -V ;
}

3. Pull repo & install.

{
sudo apt-get install git ;
cd /opt ;
git clone https://github.com/ikreymer/pywb.git ;
cd pywb ;
python setup.py install ;
}

4. Run webserver.

./run-gunicorn.sh

5. Open example archive in browser.

http://localhost:8080/pywb/example.com




0 comments :

Post a Comment

Comment: