A lightweight database system experimental platform that integrates an OJ of SQL and a variety of practical functionalities.
✨ Demo
docker pull ptyin/sqloj
docker run -d -p 80:80 -v <mongo-db-path>:/data/db -v <mongo-configdb-path>:/data/configdb -v <sqlite-path>:/var/lib/sqloj ptyin/sqloj:latest
where <mongo-db-path><mongo-configdb-path><sqlite-path> denotes the data persistence directories path in your server. e.g.,
In Windows:
docker run -d -p 80:80 -v D:\SQLOJ\mongodb\data:/data/db -v D:\SQLOJ\mongodb\config:/data/configdb -v D:\SQLOJ\sqlite:/var/lib/sqloj --name test ptyin/sqloj:latest
In Linux:
docker run -d -p 80:80 -v /opt/SQLOJ/mongodb/data:/data/db -v /opt/SQLOJ/mongodb/config:/data/configdb -v /opt/SQLOJ/sqlite:/var/lib/sqloj --name test ptyin/sqloj:latest
npm run test
- teacher
- Default teacher username: admin
- Default teacher password: tsxt-adm1n
- student
Status might be (RUNNING/AC/WA/RE/TLE)。
👤 Peter Yin
- Website: http://ptyin.asia/
- Github: @PTYin
Give a ⭐️ if this project helped you!