From e8dfb616ea7d7d40047ac73c57cfcb89b1dc4aa3 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sun, 14 Apr 2013 18:16:48 -0500 Subject: [PATCH] Add package.json --- README.md | 6 ++---- package.json | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 package.json diff --git a/README.md b/README.md index 775ec0ef..863fc9bc 100644 --- a/README.md +++ b/README.md @@ -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 ------- diff --git a/package.json b/package.json new file mode 100644 index 00000000..01bac8a9 --- /dev/null +++ b/package.json @@ -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": "*" + } +}