admin.stalk.io is a realtime communication service between operators and customers. admin.stalk.io run on the basis of XPUSH (eXtensional PUSH)
To use the xpus-link is, nodejs, mongoDB, angular-fullstack is required .
nodejs installation by referring to Download and unzip the nodejs.
mkdir -p $HOME/xpush
cd $HOME/xpush
wget http://nodejs.org/dist/v0.12.7/node-v0.12.7-linux-x64.tar.gz
tar zvf node-v0.12.7-linux-x64.tar.gz
Set the PATH environment variable so that you can use the node and npm to global.
PATH=$HOME/xpush/node-v0.12.7-linux-x64/bin:$PATH
Install and run mongoDB with reference mongoDB installation.
The follow is the code to install and run mongoDB 2.6.4
cd $HOME/xpush
wget --no-check-certificate https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.4.tgz
tar xzf mongodb-linux-x86_64-2.6.4.tar.gz
cd mongodb-linux-x86_64-2.6.4
mkdir db mkdir logs bin/mongod --fork --dbpath db --logpath logs
angular-fullstack requires several modules.
Install yo, grunt-cli, bower, and generator-angular-fullstack
npm install -g yo grunt-cli bower generator-angular-fullstack
git clone https://github.com/xpush/xpush-link.git
cd xpush-link
Install modules
bower install
npm install
module.exports = {
// MongoDB connection options
mongo: {
uri: 'mongodb://127.0.0.1/STALK'
},
// Session Server url of XPUSH
xpush: {
url: "http://127.0.0.1:8000",
A: "STALK"
}
};
grunt serve --config config.js