git clone https://github.com/circle-dot/eigenscore.git
cd eigenscore
cp .env.example .env
pip install -r requirements.txt
uvicorn app.main:app --reload
Open your browser and go to: http://127.0.0.1:8000/rankings
-
Replace
ACCESS_TOKEN
: SubstituteACCESS_TOKEN
with the current access token used in the.env
file. -
Replace the Log File Path: Update
"path/to/file/post_request.log"
with the actual path to the log file. -
Set Up the Cron Job:
- Open the crontab editor by running
crontab -e
on your machine. - Add the following line to schedule the cron job:
Replace path/to/file with the actual path to the file
0 * * * * ~/path/to/file/post_request.sh
- Open the crontab editor by running
-
Save and Exit: Save the changes and exit the editor to activate the cron job.