Code,compile and run code online!
Creates an express server for the IDE, which can be accessed and used by multiple users at the same time.
Supported languages - C, C++, Java, Python3.
Also supports timeout of 3sec for long processess.
Clone this Repo and extract it to a folder. Make sure you have latest version of g++, java, and python3 on your system. Also ensure that you have Node.js v12 or higher.
- Update and upgrade your apt if not done recently -
sudo apt-get update && sudo apt-get upgrade
- Install Node.js -
- Install curl -
sudo apt install curl
- Install NVM(Node Version manager, easiest way to install Node.js) -
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
- Restart terminal and install Node.js 12 -
nvm install 12
- Install curl -
- Install g++ -
sudo apt-get install g++
- Install Java Compiler -
sudo apt install default-jdk
- Install Python3 -
sudo apt-get install python3
- Clone this Repo into desired folder (directly download & extract zip OR
git clone https://github.com/pnshiralkar/Online-IDE.git
- Change directory (cd) into the cloned folder
- The IDE Server is now installed and setup.
node cppide.js
OR node .
This will start the IDE server at 127.0.0.1:8080
.
To run the server on specific IP address, pass <your_ip>:<port_no> as argument . For e.g. - node . 192.168.1.1:8888
OR node cppide 192.168.1.1:8888
.
You can check if this link works in browser.
Happy Coding!
Node.js, Python, HTML, CSS, Javascript, jQuery, Bootstrap, Bash.