Skip to content

circle-dot/eigenscore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EigenScore

Getting Started

1. Clone the Repository

git clone https://github.com/circle-dot/eigenscore.git
cd eigenscore

2. Setup Environment Variables

cp .env.example .env

3. Install Dependencies

pip install -r requirements.txt

4. Start the Application

uvicorn app.main:app --reload

5. Access the API

Open your browser and go to: http://127.0.0.1:8000/rankings


CronJob

  1. Replace ACCESS_TOKEN: Substitute ACCESS_TOKEN with the current access token used in the .env file.

  2. Replace the Log File Path: Update "path/to/file/post_request.log" with the actual path to the log file.

  3. 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:
         0 * * * * ~/path/to/file/post_request.sh
      Replace path/to/file with the actual path to the file
  4. Save and Exit: Save the changes and exit the editor to activate the cron job.


About

Server implementing EigenScore by OpenRank

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published