Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1006 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 1006 Bytes

go-code-together

A collaborative web based plain text editor with a server written in Go.

My first project in Golang!

Translated from my Node version here. Using socket.io, go-socket.io, mgo, Ace text editor and Bootstrap.

Build

Install Go

Now install Go packages:

go get -d ./...

Clone repository somewhere in your $GOPATH

git clone https://github.com/dyang108/go-code-together.git
cd go-code-together

Install npm

Now install node modules:

npm install -g nodemon
npm install

Run

Development

(will watch server and client files, not sure if the reload is perfect for server)

mongod
npm test

Prod

mongod
npm start

Next steps

  • Compile and run code
  • Actually deal with concurrent access to sockets