(The curious Axolotl species of salamander. Public domain photo)
👋 Axolotl is an easy-to-use, lightweight, small online conference for interviewing or pair programming.
status: mvp-dev, this project is still in the minimum usable development stage.
IMPORTANT before you start, please disable any WebRTC-Protection or Fake-Device extensions.
-
sudo docker pull golang:alpine && sudo docker pull frolvlad/alpine-gcc:latest
-
mkdir -p axolotol/{code-data/temp,hello-data} && && cd axolotol
-
nano code-data/config.json
{ "clients": { "client": "auth-key" }, "temp": "[这里要放 axolotol 文件夹的绝对路径]/code-data/temp/", "limit": false }
-
nano hello-data/config.yaml
github: clientid: 321d**********97dd clientsecret: 85a76*******************8f760 code: endpoint: http://coderunner:3000 authorization: Y2xpZW50OmF1dGgta2V5 #base64(client:auth-key) site: name: Axolotol desc: Keep Coding
-
docker-compose.yaml
version: "3.3" services: axolotl: image: ghcr.io/naiba/axolotl:latest ports: - "8080:80" restart: always volumes: - ./hello-data:/axolotl/data/ coderunner: image: ghcr.io/naiba/code-runner:latest restart: always volumes: - /var/run/docker.sock:/var/run/docker.sock - ./code-data:/coderunner/data/
-
docker-compose up -d
and visitip:8080