These are the instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Things you need to use the software and how to install them.
- Python 3 https://www.python.org/downloads/
-
Clone the repo
git clone https://github.com/shaktiug/whitelist
-
Cd to the script directory
cd devops\python-scripts\whitelist_yourself
-
Set env variables for windows in cmd
setx CLIENT_ID "" setx CLIENT_SECRET "" Reopen the CMD or run "refreshenv" to refresh the env variables"
-
Set env variables for mac
export CLIENT_ID="" >> ~/.zshrc export CLIENT_SECRET="" >> ~/.zshrc source ~/.zshrc
-
Install python packages
pip3 install -r requirements.txt
-
Execute the script
python whitelist_yourself.py --env dev --name <your-first-name-only>