Skip to content

Commit

Permalink
install instructions start
Browse files Browse the repository at this point in the history
  • Loading branch information
robputt committed Dec 19, 2017
1 parent 47f23b0 commit 0a592cc
Showing 1 changed file with 34 additions and 5 deletions.
39 changes: 34 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,43 @@ Feel free to raise a PR to fix any of the limitations above :-).

## Requirements

* Host capable of running Python 3
* Host capable of running Python 3 (probably works with Python 2.7 as well but I haven't tested this)
* Internet connection to pull articles

Tested with the following:
## Installation

* Debian 8
* Python 3.4 (from OS packages)
Here is how I got ThisIsScraper running on Debian 8 on the demo box, if you are using a different operating system adjust as required.

Clone the git repo...

```
git clone https://github.com/robputt796/ThisIsScraper.git
```

Install the Python pre-requisites and create a virtualenv.

```
apt-get install mysql-server apache2 libapache2-mod-proxy-html libxml2-dev python3 python3-dev python3-setuptools
easy_install3 pip
pip3 install virtualenv
virtualenv /opt/thisisscraper
source /opt/thisisscraper/bin/activate
cd ThisIsScraper
pip install -r requirements.txt
```

Create the config.py file and update as required.

```
cp this_is_scraper/config.py.sample this_is_scraper/config.py
vi this_is_scraper/config.py
```

Install ThisIsScraper to your virtualenv.

```
python setup.py install
```

## Installation


0 comments on commit 0a592cc

Please sign in to comment.