Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
/ wive-client Public archive

Wive is showing other users viewing a resrouce simultaneously.

License

Notifications You must be signed in to change notification settings

modomoto/wive-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wive

Wive is showing other users viewing a resrouce simultaneously.

Installation

Add this line to your application's Gemfile:

gem 'wive'

And then execute:

$ bundle

Or install it yourself as:

$ gem install wive

Then install using:

rails generate wive:install

Server

Get the server at https://github.com/modomoto/wive-server install it and run it.

Usage

add wive to your application.js

//= require wive

Wherever you want to display other users viewing a resource use the wive helper:

<%= wive "USERNAME" %>

Optional parameters: link_url: "http://somelink" image_url: "http://somefile.png"

Configuration

Set the Servername of the node.js Server in the initializers/wive.rb Wive.server = "http://localhost:3855/wiv"

Contributing

  1. Fork it ( https://github.com/modomoto/wive-client/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Wive is showing other users viewing a resrouce simultaneously.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages