xtralife-server
Xtralife-server is a full blown gaming backend
Last updated 24 days ago by xtralife .
(C) Xtralife.cloud, 2015 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install xtralife-server 
SYNC missed versions from official npm registry.

Xtralife-server

Xtralife-server is a full-blown backend server for games.

This module only bootstraps the system: its goal is to help with configuration, then start a cluster of server processes.

Dependencies

Redis, Mongodb and Elasticsearch are all required to run Xtralife-server.

Use docker to supply all the necessary database services

docker run --name redis -d -p 6378:6379 redis
docker run --name mongo -d -p 27018:27017 mongo
docker run --name elastic -d -p 9200:9200 elasticsearch:2

The default TCP ports specified in config/dev.coffee are non-standard for redis and mongodb, to avoid any confusion between dev and production environments.

Configuration

This module contains all the configuration of your server in the ./config folder. We provide a ./config/dev.coffee conf file for the standard docker developement environment.

We also provide a ./config/production.coffee conf file for the standard docker-compose xtralife-server.

The configuration file is chosen according to process.NODE_ENV and defaults to dev. It overrides ./config/default.coffee settings.

note: Batches/hooks are just normal node modules required in the configuration files, to help with source code management.

docker build -t xtralife/xtralife-server . to build the Docker image

To run the server with links to the above containers :

docker run --rm -it --link redis:redis --link mongo:mongodb --link elastic:elastic -e NODE_ENV=production -p 2000:2000 -v ~/logs:/server/logs -v ~/config:/server/config xtralife/xtralife-server

~/config must contain a copy (customized) of ./config for this command to run. ~/logs will contain log files

Current Tags

  • 4.0.0-beta3                                ...           latest (24 days ago)

35 Versions

  • 4.0.0-beta3                                ...           24 days ago
  • 4.0.0-beta2                                ...           24 days ago
  • 4.0.0-beta                                ...           25 days ago
  • 4.0.0-alpha                                ...           2 months ago
  • 3.3.22                                ...           2 months ago
  • 3.3.21                                ...           2 months ago
  • 3.3.20                                ...           2 months ago
  • 3.3.19                                ...           5 months ago
  • 3.3.18                                ...           8 months ago
  • 3.3.17                                ...           8 months ago
  • 3.3.16                                ...           8 months ago
  • 3.3.15                                ...           9 months ago
  • 3.3.14                                ...           9 months ago
  • 3.3.13                                ...           a year ago
  • 3.3.12                                ...           a year ago
  • 3.3.11                                ...           a year ago
  • 3.3.10                                ...           a year ago
  • 3.3.9                                ...           a year ago
  • 3.3.8                                ...           a year ago
  • 3.3.7                                ...           a year ago
  • 3.3.6                                ...           a year ago
  • 3.3.5                                ...           a year ago
  • 3.3.4                                ...           a year ago
  • 3.3.2                                ...           a year ago
  • 3.3.1                                ...           a year ago
  • 3.3.0                                ...           a year ago
  • 3.2.9                                ...           a year ago
  • 3.2.8                                ...           2 years ago
  • 3.2.7                                ...           2 years ago
  • 3.2.6                                ...           2 years ago
  • 3.2.5                                ...           3 years ago
  • 3.2.4                                ...           3 years ago
  • 3.2.3                                ...           4 years ago
  • 3.2.1                                ...           4 years ago
  • 3.2.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 1
Last Month 45
Dependencies (16)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |