atmosphere is a asynchronous communication service.
- vert.x : 2.0.1.final or higher
- MongoDB : 2.4.1 or higher
- Install Vert.x
- Install mongoDB
- Clone this repository.
git clone https://github.com/haushinka2dx/atmosphere.git path-to-install
- Change settings. Settings are written in
path-to-install/main/core/constants.js
- Security facts
encryptionPassword
: set not simple stringencryptionIV
: set not simple stringencryptionSalt
: set not simple stringadminUserId
: set anything you wantadminPassword
: set not simple string
- Environment facts
restAPIHostname
: set if you need.restAPIListenPort
: set if you need.streamingHostname
: set if you need.streamingListenPort
: set if you need.persistorHostname
: set hostname that mongod is running.persistorPort
: set mongod's port number.persistorDbName
: set mongod's database's name if you need.
- General facts
sessionTimeoutMilliseconds
: set appropriate time. Default is 5 minites, this is too short for almost cases.authTimeoutMilliseconds
: set appropriate time. Default is 5 minites, this is too short for almost cases.
- Security facts
- Move directory
cd path-to-install
- Run atmosphere
./start.sh
cd {repository_root}
- Execute a command.
./run-spec.sh
See wiki page