Install Python 3+
Environemnt:
- Create a virtual environment:
python -m venv venv
- Activate virtualenv:
.\venv\Scripts\activate
(Windows),source venv/bin/activate
(Linux) - Install packages from requirements.txt:
pip install -r requirements.txt
- Copy
.env.example
to.env
and populate variables - Retrieve a fine-grained personal access token from GitHub:
- Go to GitHub -> Settings -> Developer settings -> Personal access tokens -> Fine-grained tokens
- Select an organization in the
Resource owner
list. If the organization isn't listed, allow fine-grained personal access token in organization policy. - Generate a new token with
Contents
Read-only
access - Copy the token and paste it in
.env
asGITHUB_ACCESS_TOKEN
Open github_commits_to_csv
notebook and run all cells.
Use 2. Old Solution (Not recommended).
- Download cert from Proxyman: Certificate -> Export -> Root Certificate as PEM...
- Save that file to certs folder
- Inside venv:
python proxyman.py add
- Paste relative path to cert file
To disable proxyman proxy:
- Inside venv:
python proxyman.py remove
Use 1. New Automatic Solution (v4.7.0 or later).
When new Terminal launches, open vscode from there:
cd projects/examind-essay
code .