Patter PM and Chat client for pnut.io
Clone or download
Latest commit da052e6 Jan 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
promo Add promo images. Minor bugfixes. Add back clean in gruntfile. Sep 11, 2013
server fix #21 Sep 26, 2017
src many many changes (and fix #6) Jan 16, 2019
.gitignore Ignore this May 16, 2013
.jshintrc WebSocket streaming Jan 21, 2014
Gruntfile.js many many changes (and fix #6) Jan 16, 2019
README.md change canonical URL to patter.chat Jan 27, 2017
package.json many many changes (and fix #6) Jan 16, 2019

README.md

Patter

Patter is a web client for participating in public and private chat rooms over pnut.io.

Although you can run your own private instances, the main deployment is located at:

patter.chat

Setting up patter

Everything depends on you having node, npm, and grunt-cli installed. We are going to install all the dependencies and then setup a config file.

Your /config.json files should have your app client_id and should look like this:

{
    "patter_client_id": "sQZSnTo-Cw9EIQyaXm-RnCKijCanJwxL"
}

Run these commands to get started

Before getting started make sure you have created a config.json file.

>>> npm install
>>> grunt server

You should now be able to navigate to http://localhost:9001 and see your local copy of patter running.

NOTE there is an issue building, and you will have to grunt server --force, and then copy the /src/js/core/config.js file to the equivalent core folder with the client_id replaced.

To Distribute Patter

Once you are finished developing patter you can then distribute patter to a production environment. To do so you must generate a version of patter, and then copy all the files to your webserver.

For example:

>>> grunt dist
>>> rsync -avzt dist/* username@remote.host:/var/www/patter.example.com/

Once all your files are uploaded you should then have a working version of patter.