A single-page web application that enables multiple user to solve coding problems collaboratively and simultaneously.
- Interactive code editor, support multiple languages (JAVA, c++, Python .. ).
- Multiple users can edit the same piece of code simultaneously. Like google doc.
- Compile the code by clicking 'submit' button.
stack | Technologies |
---|---|
frontend-client | Angular.js, Socket.io |
frontend-server | node.js, Socket.io, Redis, MongoDB, Nginx |
backend(executor) | Nginx, Flask, Docker |
sudo apt-get update
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g nodemon
sudo apt-get install git
sudo npm install -g @angular/cli@latest
sudo apt-get install terminator
Follow: https://blog.bluematador.com/posts/postman-how-to-install-on-ubuntu-1604/
wget http://download.redis.io/releases/redis-3.2.6.tar.gz
tar xzf redis-3.2.6.tar.gz
cd redis-3.2.6
make
sudo make install
cd utils
sudo ./install_server.sh
Install pip3 for python3
sudo apt-get update
sudo apt-get -y install python3-pip
sudo pip3 install Flask
curl -fsSL https://get.docker.com/ | sh
Setup docker permission:
sudo usermod -aG docker $(whoami)
(you need to logout and login again after set permission)
To start docker when the system boots:
sudo systemctl enable docker
(For ubuntu 16.04) Add following two lines into /etc/apt/sources.list
deb http://nginx.org/packages/ubuntu/ xenial nginx
deb-src http://nginx.org/packages/ubuntu/ xenial nginx
Then run:
sudo apt-get update
sudo apt-get install nginx
After installation, just
sudo sh launcher.sh