This commit is contained in:
calzoneman 2013-04-15 20:29:07 -05:00
commit 7b57e411bb
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`) 1. Clone this repository (`git clone https://github.com/calzoneman/sync`)
2. cd to the directory containing the source files 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 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` 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 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": "*"
}
}