forked from CiscoTestAutomation/CL-DEVWKS-2808
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mac_setup.sh
32 lines (24 loc) · 1.01 KB
/
mac_setup.sh
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
31
32
#! /bin/bash
# ------------------------------------------------------------------------------
# Note
#
# these instructions are used during CLUS for setting up the Macbooks.
# wget -O - https://raw.githubusercontent.com/CiscoTestAutomation/CL-DEVWKS-2808/master/mac_setup.sh | bash
# ------------------------------------------------------------------------------
# install pyenv and python
brew install pyenv
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
pyenv install 3.6.8
# create a development directory
mkdir -p ~/workspace/devwks-2808
cd ~/workspace/devwks-2808
# create python virtual environment
~/.pyenv/versions/3.6.8/bin/python -m venv .
# activate virtual environment
source bin/activate
# update your pip/setuptools
pip install --upgrade pip setuptools
# install genie and genie robot library
pip install pyats[full]
# clone this repo
git clone https://github.com/CiscoTestAutomation/CL-DEVWKS-2808 workshop