-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
30 lines (24 loc) · 685 Bytes
/
setup.sh
File metadata and controls
30 lines (24 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash
# check if it is MACOSX
if [[ "$OSTYPE" == "darwin"* ]]; then
echo "Installing dependencies for the workshop"
else
echo "This script is only compatible with MACOSX"
exit 1
fi
# check if brew is installed
which -s brew
if [[ $? != 0 ]] ; then
# Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
else
brew update
fi
# install selenium server and chrome driver
brew install selenium-server-standalone chromedriver carthage ideviceinstaller
# install python3
brew install python3
# install all dependencies
pip install -r requirements.txt
# open python interpreter
bpython