All Projects → shawon100 → Online Compiler

shawon100 / Online Compiler

This is an online compiler that can compile and run C\C++ And Java Program. This online compiler is a part of my 5th semester project "RUET Online Judge" . Developed By Ashadullah Shawon

Projects that are alternatives of or similar to Online Compiler

Arocc
A C compiler written in Zig.
Stars: ✭ 59 (-16.9%)
Mutual labels:  compiler
Shaderconductor
ShaderConductor is a tool designed for cross-compiling HLSL to other shading languages
Stars: ✭ 1,146 (+1514.08%)
Mutual labels:  compiler
Seriouscode
This header file enforces Clang warnings to bu turned-on for specific flags (almost everyone, at least each one I was able to find).
Stars: ✭ 68 (-4.23%)
Mutual labels:  compiler
Ruby Packer
Packing your Ruby application into a single executable.
Stars: ✭ 1,107 (+1459.15%)
Mutual labels:  compiler
Certicoq
A Verified Compiler for Gallina, Written in Gallina
Stars: ✭ 66 (-7.04%)
Mutual labels:  compiler
Contracode
Contrastive Code Representation Learning: functionality-based JavaScript embeddings through self-supervised learning
Stars: ✭ 66 (-7.04%)
Mutual labels:  compiler
Tachyon
Experimental Programming Language Coded in Python!
Stars: ✭ 58 (-18.31%)
Mutual labels:  compiler
Jit Compiler
JIT compiler in Go
Stars: ✭ 70 (-1.41%)
Mutual labels:  compiler
Charly Vm
Fibers, Closures, C-Module System | NaN-boxing, bytecode-VM written in C++
Stars: ✭ 66 (-7.04%)
Mutual labels:  compiler
Kai
An expressive low level programming language
Stars: ✭ 68 (-4.23%)
Mutual labels:  compiler
Flashforth
FlashForth development
Stars: ✭ 60 (-15.49%)
Mutual labels:  compiler
Ccache
ccache – a fast compiler cache
Stars: ✭ 1,128 (+1488.73%)
Mutual labels:  compiler
Orange
The Orange programming language
Stars: ✭ 67 (-5.63%)
Mutual labels:  compiler
Xc Basic
A compiling BASIC dialect for the Commodore-64
Stars: ✭ 59 (-16.9%)
Mutual labels:  compiler
Jsweet
A Java to JavaScript transpiler.
Stars: ✭ 1,167 (+1543.66%)
Mutual labels:  compiler
Tiny Lisp
A tiny lisp compiler written in JS
Stars: ✭ 58 (-18.31%)
Mutual labels:  compiler
Compiler Explorer
Run compilers interactively from your web browser and interact with the assembly
Stars: ✭ 9,844 (+13764.79%)
Mutual labels:  compiler
Akilang
A compiler for a simple language, built with Python and LLVM
Stars: ✭ 71 (+0%)
Mutual labels:  compiler
Seeless
C IDE for iOS
Stars: ✭ 71 (+0%)
Mutual labels:  compiler
Gatsby Starter Default
The default Gatsby starter
Stars: ✭ 1,154 (+1525.35%)
Mutual labels:  compiler

Demo

http://ruetoc-ruetoc.apps.us-west-1.starter.openshift-online.com/

Online-Compiler

This is an online compiler that can compile and run C\C++ And Java Program. This online compiler is a part of my 5th semester project "RUET Online Judge" . This Online Compiler is Developed By Ashadullah Shawon

Languages

C , C++ And Java

Requirements

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

Install Projects And Compilers

git clone https://github.com/shawon100/Online-Compiler.git

C/C++

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.8


sudo ln -f -s /usr/bin/g++-4.8 /usr/bin/g++

Java

sudo add-apt-repository ppa:openjdk-r/ppa  
sudo apt-get update   
sudo apt install openjdk-8-jre

Move Online-Compiler Folder to Server Folder

If you are using Xampp then you have to move Online-Compiler folder to htdocs of Xampp. If you are using only Apache Server then move to www folder.

Change Permission

chmod -R 777 Online-Compiler

Run

Type http://localhost/Online-Compiler/ from your Browser. Done!

Windows Version

https://github.com/shawon100/Online-Compiler-Windows-Server

DevOps Features

Install Docker at first. So, you can run this project in Windows/Linux/Mac
using Docker without doing anything mentioned before.

Direct One Command Install

docker pull shawon10/online-compiler

Docker Run Pulled Image

docker run -p 80:80 online-compiler

Check IP

docker-machine ip

Run Browser

Type your ip in browser adress bar and Enter

Docker Build Image

Copy Dockerfile to Outside of Online-Compiler Folder. Then Run docker build command.

docker build -t online-compiler .

Docker Run Container

docker run -p 80:80 online-compiler

Video Tutorial

https://www.youtube.com/watch?v=bf-inYN2V-k

Kubernetes

Create deployment.yaml file

apiVersion: v1
kind: Service
metadata:
  name: onlinecompiler-service
spec:
  selector:
    app: onlinecompiler
  ports:
  - protocol: "TCP"
    port: 80
    targetPort: 80
  type: NodePort

---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: onlinecompiler
spec:
  selector:
    matchLabels:
      app: onlinecompiler
  replicas: 1
  template:
    metadata:
      labels:
        app: onlinecompiler
    spec:
      containers:
      - name: onlinecompiler
        image: shawon10/online-compiler
        imagePullPolicy: Always
        ports:
        - containerPort: 80

Run

kubectl apply -f deployment.yaml

Check IP and Ports

 kubectl get svc

Openshift Deploy (Online)

Check this video: https://www.youtube.com/watch?v=QnA0QidkWSM

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].