Skip to content
/ spkr Public

async voice chat, play framework 2.4, apache kafka, morphia for mongodb 3.0, nginx

Notifications You must be signed in to change notification settings

tim-zh/spkr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux

  • install docker
  • execute
    • docker create --name=mongodb --net=host -v <spkr/db>:/data/db mongo:3.0 --storageEngine wiredTiger
    • docker exec mongodb mongo < conf/mongodb/setup.js
    • docker create --name=nginx --net=host -v <spkr/nginx/nginx.conf>:/etc/nginx/nginx.conf:ro -v <spkr/static>:/usr/share/nginx/html:ro nginx:1.9
    • docker build -f kafka/zookeeper.Dockerfile -t kafka-zookeeper:0.9 kafka
    • docker build -f kafka/kafka.Dockerfile -t kafka:0.9 kafka
    • docker create --name=zk --net=host kafka-zookeeper:0.9
    • docker create --name=kafka --net=host kafka:0.9
    • docker start mongodb nginx zk kafka
    • sbt run
    • ...
    • docker stop mongodb nginx kafka zk

windows

  • install nginx
  • install mongodb (3.0)
  • execute
    • mongo < conf/mongodb/setup.js
    • sbt "setupWin <nginx dir> <kafka dir>"
    • start.bat
    • sbt run

About

async voice chat, play framework 2.4, apache kafka, morphia for mongodb 3.0, nginx

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published