Setting up a local machine - abeedal/Abeedal GitHub Wiki
Setting up a local machine
Modify local hosts file User must open hosts file which is located in:
For Linux users - hosts file is located in: /etc/hosts
For MAC users - hosts file is located in: /etc/hosts
NOTE: use the following commands to write open etc/hosts on mac to edit using nano:
sudo chmod 777 /etc/hosts
nano /private/etc/hosts
Hosts file should looks like the one on the image below:
Add the specified rows to the hosts file
These two rows will map the connection between an IP addresses and wiremock domain name
from within nano hit Control-O to save, then hit enter to coinfirm and finally Control-X to exit
Install and Configure AWS CLI 2 (For Mac): Navigate to Installing or updating the latest version of the AWS CLI - AWS Command Line Interface
Navigate to
After downloading run the .pkg and follow through the setup until installed.
Check installation by running “aws” on terminal
Set up AWS credentials via SSO Prequisites:
Conditions aws-cli v2 is installed
Python3 is installed
Run aws configure sso command and enter the following parameters:
SSO start URL = https://spotlightsportsgroup.awsapps.com/start
SSO Region = eu-west-2
Select “RP Janus - Dev” option
Followed by the desired role:
Keep your existing CLI default options: CLI default client Region [eu-west-1]:
CLI default output format [json]:
Set the ‘CLI profile name’ = JanusQA
Install yawsso to update AWS credentials Install yawsso by running the following command:
pip3 install yawsso NOTE: You should have xCode 12.4 and Python installed already to complete the pip3 installation of Yawsso