Skip to content

A lightweight, browser-based code editor with a remote language server and peer-to-peer collaboration.

Notifications You must be signed in to change notification settings

mihirs16/monte-carlo

Repository files navigation

Monte Carlo

A lightweight, browser-based code editor with a remote language server and peer-to-peer collaboration.

Getting Started

  • Fork and clone this repository.
git clone https://github.com/:your-username:/monte-carlo
git submodule update --init --recursive
cd monte-carlo
npm install
# 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

Deployment

  1. Make sure local repository is up-to-date.

  2. Install Docker (and Docker Compose, if Linux) on the hosting server.

  3. Use Docker Compose to build and run all the images.

docker compose build
docker compose up --detach
  1. (Optional) To issue a certificate, use ./cert-setup.sh.
docker compose exec nginx ./cert-setup.sh

About

A lightweight, browser-based code editor with a remote language server and peer-to-peer collaboration.

Resources

Stars

Watchers

Forks