An offline IDE for C++, although similar to ideone.com, but ensures that your code doesn't fall into wrong hands :p
###Installing
- Clone the repository on your PC
git clone https://github.com/nikhil96sher/coding_companion/ - Go to coding_companion
cd coding_companion - Run
./install.sh
Note : install.sh installs python, g++ and Django 1.8.1 . If these are already installed, you can skip the installation.
Note : If the install.sh command results in permission denied error, then first run chmod 777 install.sh and then try running install.sh again.
###Using
- Go to the
coding_companiondirectory - Run
./run.sh
Note : If the run.sh command results in permission denied error, then first run chmod 777 run.sh and then try running run.sh again.
Note : If the run.sh command results in "The port is already in use", try running the server on another port by using python manage.py runserver <Port-Number>. For example : python manage.py runserver 60002
###Features
- Compile and Run C++ code.
- Create a template, so you need not type your #defines again and again.
How To : Write your code, and save it in a file named template. You can modify it by overwriting it anytime.
3. Save code on your PC. (Although a temporary copy is always saved as a backup)
How To : Clicking on save saves the code in the directory codes/saved in the app's directory. The temporary codes are saved in the directory codes/tmp
###Resources
- Django (https://www.djangoproject.com/)
- Ace Editor (https://github.com/ajaxorg/ace)
- Bootstrap CSS (http://getbootstrap.com/css/)
- jQuery (https://jquery.com/)
