Git Product home page Git Product logo

ruet-oj's Introduction

RUET-OJ

RUET OJ is the 1st Open Source Online Judge Platform Of Bangladesh .

Developer

Ashadullah Shawon

Live RUET-OJ

https://oj.redlimesolutions.ml

Languages

Front End

HTML, CSS, BootStrap, JavaScript

BackEnd

PHP, MySQL

Judge Languages

C , C++, C++11 And Java

Requirements

Linux, gcc, g++ , Java Compilers And Lampp

Install Compilers

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

Database Set Up

Import SQL Files From dbs Folder .

Set Up Conncection

If you are using localhost then change configuration of config.php to

$host="localhost";
$user="root";
$pass="";
$db="reg";

Change Permission

chmod -R 777 RUET-OJ

Windows OS Version

There is also a windows version of this online judge with partial features. https://github.com/shawon100/RUET-Virtual-Lab

Request

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.

Deploy Online (Openshift)

See this Video: https://www.youtube.com/watch?v=DGMptYjhGF4

Deploy in Local Kubernetes

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

Deploy in Cloud Kubernetes

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

ruet-oj's People

Contributors

shawon100 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ruet-oj's Issues

Wrong answer in java

hello! i'm using this project and i'm adding archieve problems. when i am solving that problem in c or c++ then only it accepts and shows verdict "Accepted" but when i code in java it shows wrong answer..but the output is correct..please help i'm stuck!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.