ail-framework/crawler_hidden_services_install.sh
2018-09-26 16:34:27 +02:00

15 lines
352 B
Bash
Executable file

#!/bin/bash
read -p "Do you want to install docker? (use local splash server) [y/n] " -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
# install docker
sudo apt install docker.io
fi
# pull splah docker
sudo docker pull scrapinghub/splash
. ./AILENV/bin/activate
pip3 install -U -r pip3_packages_requirement.txt