GithubHelp home page GithubHelp logo

simonox / pageflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codevise/pageflow

0.0 2.0 0.0 6.54 MB

Multimedia story telling for the web.

Home Page: http://pageflow.io

License: MIT License

pageflow's Introduction

Pageflow

Gem Version Build Status

Multimedia story telling for the web.

For a high level introduction and example Pageflow stories see pageflow.io (German only at the moment).

Ingredients

Pageflow is a Rails engine which roughly consists of the following components:

  • A full MVC stack to manage and display Pageflow stories
  • User and permission management with support for isolated accounts and user collaboration
  • A client side application for live preview editing of stories
  • Background jobs to process and encode images, audios and videos
  • Generators to quickly bootstrap a new Rails application

Pageflow assumes the following choice of libraries:

Requirements

Pageflow runs in environments with:

  • Ruby 1.9.3 or higher
  • Rails 4.0
  • Redis server (for Resque)
  • A database server supported by Active Record (tested with MySQL)

Accounts of the following cloud services have to be registered:

Installation

Add this line to your application's Gemfile:

# Gemfile
gem 'pageflow'

At the moment, Pageflow depends on a frozen version of Active Admin since, back when development started, no Rails 4 compatible version of Active Admin was available as a gem. You therefore need to bundle the rails4 branch that we have forked into our github organization:

gem 'activeadmin', :git => 'https://github.com/codevise/active_admin.git', :branch => 'rails4'
gem 'ransack'
gem 'inherited_resources', '1.4.1'
gem 'formtastic', '2.3.0.rc2'

Run bundler to install dependencies:

$ bundle install

Running the Generator

Now you can run the generator to setup Pageflow and its dependencies:

$ rails generate pageflow:install

The generator will invoke Active Admin and Devise generators in turn and apply some configuration changes.

To better understand Pageflow's configuration choices, you can run the single steps of the install generator one by one. See the wiki page The Install Generator in Detail for more. If you'd rather not look behind the scenes for now, you can safely read on for now.

Database Setup

Now it's time to migrate the database.

$ rake db:create db:migrate

If you do not like Rails' default database choices you might have to alter your database.yml first.

Finally, you can populate the database with some example data, so things do not look too blank in development mode.

$ rake db:seed

Configuration

Pageflow stores files in S3 buckets also in development mode. Otherwise there's no way to have Zencoder encode them. See the wiki page Setting up external services.

For available configuration options and examples see the inline docs in config/initializers/pageflow.rb in your generated rails app.

Troubleshooting

If you run into problems during the installation of Pageflow, please refer to the Troubleshooting wiki page. If that doesn't help, consider filing an issue.

pageflow's People

Contributors

kioopi avatar tf avatar

Watchers

 avatar  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.