GithubHelp home page GithubHelp logo

bhushangahiue / social_stream-base Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marisayem/social_stream-base

0.0 1.0 0.0 3.32 MB

Social Stream is a core for building social network websites. This repository provides with the basic features

Home Page: http://social-stream.dit.upm.es/

License: MIT License

social_stream-base's Introduction

Social Stream Base

Social Stream Base provides the basic functionality for Social Stream, the core for building social network websites. The features of this gem are limited, for a complete social network environment see github.com/ging/social_stream

Features

  • Social network infraestructure

  • Activity streams infraestructure

  • Subjects: {User} and {Group}

  • Objects: {Post} and {Commment}

  • Private messages and notifications, by Mailboxer

  • Avatars, by Avatars For Rails

Installation

This will install Social Stream basic functionalities. For a complete social network platform see Social Stream

Add to your Gemfile:

gem 'social_stream-base'

and run:

bundle update

Then:

rails generate social_stream:base:install

This will generate the following:

  • A jquery:install generation for jQuery support

  • A devise:install generation for authentication support

  • An initializer file with configuration for Social Stream.

  • A configuration file for defining custom Social Stream relations. You can define your application default relations at config/relations.yml

  • A new application layout

  • A migration providing the database schema

Do not forget to migrate your database

rake db:migrate

Actors and Activity Objects

Social Stream Base relies in Devise. You have authenticated users support in your application by default.

Besides, there is another kind of actor: groups. If you want other type of actor (like organizations or social events) you must include an actor_id column in the new actor migration. Then add it to config/initializers/social_stream.rb

There is also support for two types of basic activity objects: posts and comments. You can create other types, like photos, bookmarks or videos, but you must do the same: add a activity_object_id column in the migration and include it in the initializer.

Documentation

Social Stream Base documentation is available at rdoc.info

Discussion

We are reaching beta phase of development. Feel free to add an issue or send a message at github.

social_stream-base's People

Contributors

atd avatar diegocarrera avatar roendal avatar adiezbal avatar jaime1988 avatar vsbdev avatar agordillo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.