Before running the application, you need to set up your GitHub API access token to allow the application to fetch data from GitHub.
-
Generate a new GitHub API access token:
- Visit GitHub's Tokens Page and generate a new token with the appropriate permissions. For this project, you will need permissions to access repositories.
-
Configure your access token in the application:
- Open the
blame_api.py
file located in the project directory underbackend/app/util
. - Find the line that contains
TOKEN = 'your_access_token_here'
. - Replace
'your_access_token_here'
with your actual GitHub API access token.
- Open the
Please ensure that you include all necessary permissions for the token to avoid any access issues. This token will be used to authenticate and interact with GitHub's API securely.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Python 3.8+
- pip
- Docker and Docker Compose
- A GitHub account
-
Clone the repository:
git clone https://github.com/CordellBlanchard/AMD_Hackathon.git
-
Navigate to the project directory:
cd AMD_Hackathon
-
Build and start the Docker containers:
docker-compose up --build
note: this may be need to run again if it doesnt work the first time!
-
Access the UI through http://localhost