Unofficial website project to track SNBT SNMPB historical data easier.
- First, you need to install Bun runtime and Python runtime (if you want data from SNMPB site)
- Clone this project using git cli
you should know how to use git btw - Enter to the cloned project directory
- Run
bun ito install project dependencies - Run
bun run src/database/migrate.tsto initialize the SQLite3 database - If you want dump the SNPMB data, go to
scriptsfolder, runpython3 dump.py(it took ~10 minutes in good connection), and runbun run scripts/insert_to_db.ts [.db file name in scripts folder] [current year, eg. 2024]you can skip this step - If you want use our imported data, you can copy this code
wget https://github.com/hansputera/snbt-historic/releases/download/1.0.0/data.db -O data.dbto your terminal - Build the project using
bun run --bun build - Serve the project using
bun run --bun start
- Aziz Ridhwan Pratama - Maintainer and Idea project
- Hanif Dwy Putra S - Maintainer
- SNPMB BPP - Kementerian Pendidikan, Kebudayaan, Riset, dan Teknologi