Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 2.12 KB

README.md

File metadata and controls

48 lines (34 loc) · 2.12 KB

Vulnerabilities Coverage Maintainability Rating GitHub Actions Contributor Covenant

CodinGame Puzzles Stats Saver GitHub

A program to save regularly the statistics of CodinGame's puzzles to your MongoDB database.

Use the program

Install

$ docker pull ghcr.io/mathieusoysal/codingame-puzzles-stats-saver:v1.0.3

Run

$ docker run \
  -e MONGODB_PASSWORD=<the password> \
  -e MONGODB_USERNAME=<the username> \
  -e MONGODB_ADDRESS=<the address> \
  -e MONGODB_DATABASE=<the database> \
  ghcr.io/mathieusoysal/codingame-puzzles-stats-saver:v1.0.3 --period 24

The --period <number> argument define the period in hours to execute the saver, you can define this to 0 if you want a unique single execution.

How to contribute

Clone the project

$ git clone https://github.com/MathieuSoysal/CodinGame-Puzzles-stats-saver.git

Test the project

$ mvn test

note: you don't need a MongoDB database, the project has a embeded MongoDB database for testing

Contact

If you have any problems to setup the program do not hesitate to contact me at Mathieu.Soysal@etu.umontpellier.fr