Skip to content

pnshiralkar/Online-IDE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online IDE in Node.js

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.

Installation -

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.

  1. Update and upgrade your apt if not done recently - sudo apt-get update && sudo apt-get upgrade
  2. Install Node.js -
    1. Install curl - sudo apt install curl
    2. 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
    3. Restart terminal and install Node.js 12 - nvm install 12
  3. Install g++ - sudo apt-get install g++
  4. Install Java Compiler - sudo apt install default-jdk
  5. Install Python3 - sudo apt-get install python3
  6. Clone this Repo into desired folder (directly download & extract zip OR
    git clone https://github.com/pnshiralkar/Online-IDE.git
  7. Change directory (cd) into the cloned folder
  8. The IDE Server is now installed and setup.

Run the server -

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!

Technologies used

Node.js, Python, HTML, CSS, Javascript, jQuery, Bootstrap, Bash.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published