Download the project.
git clone --recursive https://github.com/memochou1993/gh-rankings.git
Copy local.env.example
to local.env
.
cp local.env.example local.env
Update environment variables.
DB_HOST=<YOUR_DB_HOST>
DB_DATABASE=<YOUR_DB_DATABASE>
API_URL=https://api.github.com/graphql
API_TOKEN=<YOUR_API_TOKEN>
Run the project.
APP_ENV=local go run main.go