Code2Gether is a Platform Designed for developing web components that you can code in HTML/CSS/JAVASCRIPT in collaboration with friends or collegues and see the result in real-time and even chat with each other while working on a project. All in One Platform !
Main Requirements used in this project are mentioned below:
- Nodejs
- Express
- MongoDB
- Socket.io
- OTjs
- PeerJs
- First make sure u have nodejs (and node package manager) and MongoDB installed on your system, if you don't you can get them from links below:
- Nodejs
- MongoDB
- Clone or Download this Repository:
git clone https://github.com/mamathew98/code2gether.git
- Open a Terminal and head to root directory of the project and run
npm install
and wait for the dependecies to get installed:
cd /code2gether
npm install
- Make sure Your 3000 port on device is available and run:
npm start
- Open another Terminal and head to
/PeerServer
and runnpm install
and wait for dependecies to get installed
cd /PeerServer
npm install
- Make sure Your 9000 port on device is available and run
npm start
in/PeerServer
directoy
npm start
- For Running on Your Local Server head to
/public/javascripts/
and openeditor.js
File then Comment the section below//FOR SERVER DEPLOYMENT
and Uncomment the section below// FOR LOCAL DEPLOYMENT
if you want to run application on a server you have to change the url provided in socket initiations in section below
// FOR SERVER DEPLOYMENT
- Open a Browser and go to
http://localhost:3000/
- Vola! Now you can register and make a project and share its link with others so you can collaborate on the project together
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.