Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mheadd/remoteagent
A complete remote agent / remote call center solution built with JavaScript.
https://github.com/mheadd/remoteagent
Last synced: 3 months ago
JSON representation
A complete remote agent / remote call center solution built with JavaScript.
- Host: GitHub
- URL: https://github.com/mheadd/remoteagent
- Owner: mheadd
- License: mit
- Created: 2011-03-21T02:37:10.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-07-07T20:07:31.000Z (over 13 years ago)
- Last Synced: 2024-06-22T22:04:42.707Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 277 KB
- Stars: 68
- Watchers: 3
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## (P)hono :: (C)ouchDB :: (N)ode :: (A)sterisk :: Remote Agent Solution
A complete remote agent / remote call center solution built with JavaScript. This solution uses:
* [Asterisk](http://asterisk.org) - The open source telephony platform.
* [Node.js](http://nodejs.org) - Server-side JavaScript framework.
* [CouchBase](http://couchbase.com) - Document oriented database.
* [Phono](http://phono.com) - jQuery plugin for building browser-based communication apps.## Deploying this app
CouchApps are web applications which can be served directly from [CouchDB](http://couchdb.apache.org). This gives them the nice property of replicating just like any other data stored in CouchDB. They are also simple to write as they can use the built-in jQuery libraries and plugins that ship with CouchDB.
[More info about CouchApps here.](http://couchapp.org)
Assuming you just cloned this app from git, and you have changed into the app directory in your terminal, you want to push it to your CouchDB with the CouchApp command line tool, like this:
couchapp push . http://name:password@hostname:5984/mydatabase
If you don't have a password on your CouchDB (admin party) you can do it like this (but it's a bad, idea, set a password):
couchapp push . http://hostname:5984/mydatabase
If you get sick of typing the URL, you should setup a `.couchapprc` file in the root of your directory. Remember not to check this into version control as it will have passwords in it.
The `.couchapprc` file should have contents like this:
{
"env" : {
"public" : {
"db" : "http://name:[email protected]/mydatabase"
},
"default" : {
"db" : "http://name:pass@localhost:5984/mydatabase"
}
}
}Now that you have the `.couchapprc` file set up, you can push your app to the CouchDB as simply as:
couchapp push
This pushes to the `default` as specified. To push to the `public` you'd run:
couchapp push public
Of course you can continue to add more deployment targets as you see fit, and give them whatever names you like.