mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-09-20 07:58:29 +00:00
15 lines
352 B
Bash
Executable file
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
|