Skip to content

lostsnow/cloudrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a479407 · Mar 12, 2024
Mar 12, 2024
Aug 22, 2021
Sep 17, 2022
Oct 4, 2021
Oct 4, 2021
Oct 5, 2021
Oct 10, 2021
Oct 27, 2019
Jul 15, 2023
Aug 22, 2021
Aug 22, 2021
Sep 17, 2022
Oct 10, 2021
Oct 4, 2021
Nov 17, 2019
Sep 17, 2022
Aug 22, 2021
Oct 4, 2021
Sep 27, 2023
Sep 27, 2023

Repository files navigation

cloudrain

Web MUD based on websocket proxy to telnet

Build Setup

Web

git submodule update --recursive --remote

build

cd web

# install dependencies
npm install

# serve with hot reload at localhost:7171
npm run dev

# build for development
npm run build-dev

# build for production with minification
npm run build

Server

go build -v

hot reload

# binary will be $(go env GOPATH)/bin/air
curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s -- -b $(go env GOPATH)/bin

air

Docker

docker-compose build --build-arg GOPROXY="https://goproxy.cn,direct" \
  --build-arg VUE_APP_WEBSOCKET_URL=ws://localhost:7071/ws
docker-compose up -d