Install go, set up go path and then clone this repo to $GOPATH/src/github.com/yashsriv/networks-video-stream
:
$ git clone https://github.com/yashsriv/networks-video-stream.git $GOPATH/src/github.com/yashsriv/networks-video-stream
Install dep: https://github.com/golang/dep#installation
Install dependencies:
$ cd $GOPATH/src/github.com/yashsriv/networks-video-stream
$ dep ensure -v
Install npm/yarn, and then:
$ cd frontend
$ npm install
# or
$ yarn install
Run server:
$ go run app.go
Now run angular frontend:
$ cd frontend
$ npm start
# or
$ yarn start
Open up http://localhost:4200 and profit!
Run build.sh:
$ ./build.sh
Run main server:
$ cd dist
$ ./server