Open dzc34 opened 8 years ago
$ sudo ln -s /opt/phantomjs-1.9.7-linux-x86_64 /opt/phantomjs
[INFO] websnapshot ....................................... SUCCESS [0.225s] [INFO] websnapshot-api ................................... SUCCESS [1.141s] [INFO] websnapshot-service ............................... SUCCESS [48.506s] [INFO] websnapshot-impl .................................. SUCCESS [2.096s] [INFO] websnapshot-persistence ........................... SUCCESS [47.111s] [INFO] websnapshot-webapp ................................ SUCCESS [11.775s] [INFO] websnapshot-resources ............................. SUCCESS [0.104s]
it's also a good idea ;-) Without this, you can still download, but you need to skip the tests
$ cd /opt
$ sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
$ sudo tar -xvf phantomjs-1.9.7-linux-x86_64.tar.bz2
$ sudo rm phantomjs-1.9.7-linux-x86_64.tar.bz2
$ cd /home/<user>
$ git clone https://github.com/Asqatasun/Web-Snapshot.git
$ cd /home/<user>/Web-Snapshot
$ mvn clean install
$ cd websnapshot-service/target/surefire-reports/
$ cat org.asqatasun.websnapshot.service.SnapshotCreatorImplTest.txt
$ ls /opt