Skip to content

Instantly share code, notes, and snippets.

@kayiwa
Last active February 2, 2021 13:07
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kayiwa/a87f84d23d6402d44430c0c8e9c625a1 to your computer and use it in GitHub Desktop.
Save kayiwa/a87f84d23d6402d44430c0c8e9c625a1 to your computer and use it in GitHub Desktop.
Diffengine Installer
## install phantom JS (#ref https://tecadmin.net/install-phantomjs-on-ubuntu/)
* As superuser capable account do the following
```
sudo -s
sudo apt -y update
sudo apt -y install build-essential chrpath libssl-dev libxft-dev
sudo apt -y install libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
sudo ln -sf /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
```
## install python3
`sudo apt -y install python3-pip`
### Install git
`sudo apt -y install git`
### Clone edsu@ htmldiff fork
* this step is needed or diffengine htmldiff fails.
```
git clone https://github.com/edsu/htmldiff.git
cd htmldiff
sudo python3 setup.py install
```
### Install Tweepy
`sudo pip3 install tweepy`
## Install diffengine
`sudo pip3 install diffengine`
@rmdes
Copy link

rmdes commented Oct 9, 2019

amazing, I will try/test tonight :)
thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment