A lightweight, browser-based code editor with a remote language server and peer-to-peer collaboration.
- Fork and clone this repository.
git clone https://github.com/:your-username:/monte-carlo
git submodule update --init --recursive
cd monte-carlo
npm install- This project uses
npmworkspaces. The endpoints used in theclientare hosted at projects.mihirsingh.dev.
# client
npm run dev -w client
# language servers
npm run dev -w jsonrpc-ws-proxy
# signal-server
npm run dev -w signal-server- Or use Docker Compose to build and run all the images.
docker compose build
docker compose up --detach-
Make sure local repository is up-to-date.
-
Install Docker (and Docker Compose, if Linux) on the hosting server.
-
Use Docker Compose to build and run all the images.
docker compose build
docker compose up --detach- (Optional) To issue a certificate, use
./cert-setup.sh.
docker compose exec nginx ./cert-setup.sh