Creates a server to update DS3 Datathon Leaderboard using Kaggle Leaderboard
Requirement: Python 3.12 or above and pipenv
-
Create Virtual Environment and Install Packages:
- The
kaggle
package that is being used is a custom build version bytheDS3
. Read below
pipenv install --dev
- The
-
Copy the
.env.example
to.env
:cp .env.example .env
-
Replace the
KAGGLE_USERNAME
andKAGGLE_KEY
with those from the Kaggle -
Replace the
MONGO_URI
with the MongoDB Atlas URI -
(Optional) If you are using VS Code, please configure the Python Interpreter based on Virtual Environment. Read here
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
pipenv install |
Installs default packages |
pipenv install --dev |
Installs develop and default packages |
pipenv run dev |
Starts local dev server at 0.0.0.0:8000 |
pipenv run start |
Creates a production server at 0.0.0.0:8000 |
Check the pipenv
docs for more commands
Checkout the Wiki for details about build images and other topics