pip install code-rtc
Then run application using console
code-rtc
Clone Repository
git clone https://github.com/PSKP-95/code_rtc.git
Setup Database. In backend/data folder create sqlite3 database file
sqlite3 code_RTC.db
CREATE TABLE bucket ( node_id integer PRIMARY KEY AUTOINCREMENT, type int(2) NOT NULL, node varchar(50) NOT NULL, file text, parent int(11) NOT NULL, flag integer, note text );
CREATE TABLE tests ( test_id integer PRIMARY KEY AUTOINCREMENT, type int(1) NOT NULL, input text NOT NULL, output text NOT NULL, node_id int(11) NOT NULL, status int(11) NOT NULL DEFAULT '0', CONSTRAINT fk_node FOREIGN KEY (node_id) REFERENCES bucket(node_id) );
Start flask server. Open terminal in backend
set FLASK_APP=app.py
python -m flask run --port=8888
Start angularJS client. Open terminal in frontend
npm start
- Creating Code
- Running Code on user input
- Creating Testcases
- Running on Testcases
- File explorer
- Context menu for File explorer with delete, cut, rename, paste.
- Export files
- Import Folders/Files
- Tab System
This application is tested on Ubuntu 19.10, Ubuntu 20.04, Windows 10 with Firefox Web Browser
Need to just change DATABASE
in code_rtc/backend/src/db.py
- mysql : for mysql / mariadb
- sqlite3 : for sqlite3
See Video on Youtube https://www.youtube.com/watch?v=QwXDyiKYOas (Not upto date)