Add package.json

This commit is contained in:
calzoneman 2013-04-14 18:16:48 -05:00
parent 4e2e349196
commit e8dfb616ea
2 changed files with 18 additions and 4 deletions

View File

@ -46,13 +46,11 @@ Then, follow these instructions to install CyTube:
1. Clone this repository (`git clone https://github.com/calzoneman/sync`)
2. cd to the directory containing the source files
3. Install dependencies: `npm install socket.io connect mysql-libmysqlclient node_hash bcrypt`
3. Install your distribution's `libmysqlclient` package.
3. Install dependencies: `npm install`
4. Edit `config.js` and input your database details and connection port
5. Edit `www/assets/js/iourl.js` and change the value of `IO_URL` to `yourhostname:port` where `port` is the port defined in `config.js`
If you get an error when trying to install `mysql-libmysqlclient`, you need to install your operating system's
MySQL client library. On Arch, this package is `libmysqlclient`.
Running
-------

16
package.json Normal file
View File

@ -0,0 +1,16 @@
{
"author": "Calvin Montgomery",
"name": "CyTube",
"description": "Online media synchronizer and chat",
"version": "1.1.5",
"repository": {
"url": "http://github.com/calzoneman/sync"
},
"dependencies": {
"socket.io": ">=0.9",
"connect": "*",
"mysql-libmysqlclient": "*",
"node_hash": "*",
"bcrypt": "*"
}
}