erxes is an open-source messaging platform for customer success.
erxes is built with JavaScript (ES6), Meteor, Node.js, MongoDB and React.
The project is maintained by erxes Inc, along with an amazing group of independent contributors. We are striving to make customer experience better through our messaging platform.
curl https://install.meteor.com/ | sh
We need to run three apps (main meteor and 2 simple static file server) in order to simulate real life environment.
Clone repo
git clone https://github.com/erxes/erxes.git
cd erxes
Install dependencies in main app
cd main
meteor npm install
Create settings file
cp settings.json.example settings.json
Configure settings. Open settings.json and edit it.
{
"public": {
# your erxes deployed domain
"CDN_HOST": "http://127.0.0.1/static"
},
"COMPANY_NAME": "{your_company_name}",
"NO_REPLY_EMAIL": "{no-reply@{domain}}",
# amazon s3 credientials. Using to upload attachments, profile pictures etc ...
"AWS_accessKeyId": "{access_key_id}",
"AWS_secretAccessKey": "{secret_access_key}",
"AWS_bucket": "{bucket_name}",
}
Run
./start.sh
Now, main app is running at http://localhost:7010. Default channel, brand, integration must be created. Login using
email: 'admin@erxes.io'
password: 'admin123'
Install dependencies
cd ../api
meteor npm install
Create settings file
cp settings.json.example settings.json
Configure settings. Open settings.json and edit it.
{
# your erxes deployed domain
"CDN_HOST": "http://127.0.0.1:7020/static",
"API_URL": "ws://127.0.0.1:7010/websocket"
}
Run
./start.sh
If you face with
gulp command not found
error, install it bynpm install -g gulp
command.
Api app is running at http://localhost:7020.
cd ../publisher
./start.sh
Publisher app is running at http://localhost:7030.
Now, everything is set. You can play around with the widget in the publisher app. Send message from publisher and respond from main app.
cd ../main
meteor npm test
Copyright (c) 2016 erxes Inc - Released under the MIT license.