RUET OJ is the 1st Open Source Online Judge Platform Of Bangladesh .
https://oj.redlimesolutions.ml
HTML, CSS, BootStrap, JavaScript
PHP, MySQL
C , C++, C++11 And Java
Linux, gcc, g++ , Java Compilers And Lampp
C/C++
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
echo "deb http://ftp.us.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list.d/toolchain.list
sudo apt-get update
sudo apt-get install g++-4.9
sudo ln -f -s /usr/bin/g++-4.9 /usr/bin/g++
Java
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt install openjdk-8-jre
Import SQL Files From dbs Folder .
If you are using localhost then change configuration of config.php to
$host="localhost";
$user="root";
$pass="";
$db="reg";
chmod -R 777 RUET-OJ
There is also a windows version of this online judge with partial features. https://github.com/shawon100/RUET-Virtual-Lab
This online judge project is for learning purpose. Do not use it for commercial purpose. If you modify credits of footer, then add this github repository link to footer.
See this Video: https://www.youtube.com/watch?v=DGMptYjhGF4
Go to deployments folder
cd deployments
kubectl apply -f .
Exec into MySQL Pod
kubectl exec -it pod-name bash
mysql -u root -p roj
Import reg.sql from dbs folder (Just Run the Queries using Copy and Paste)
Then check the service and nodeport on your local kubernetes
http://kubernetes-master-ip:NodePort
Install Nginx Ingress Controller
Resource: https://www.shawonruet.com/2022/08/deploy-sample-live-angular-frontend.html
cd deployments
kubectl apply -f .
Exec into MySQL Pod
kubectl exec -it pod-name bash
mysql -u root -p roj
Import reg.sql from dbs folder (Just Run the Queries using Copy and Paste)
Check your host name from Ingress and Access