Installation

Get started and install the PushType RubyGem.

This tutorial will guide you through the simple process of installing PushType in to your Rails application.

Dependencies

PushType takes advantage of modern features of PostgreSQL, which in turn requires a recent version of Rails.

  • Rails 4.2+
  • PostgreSQL 9.4
  • ImageMagick

Installation

Assuming you have a Rails app ready to go, add the following line to the Gemfile:

gem 'push_type'

Then execute from the terminal:

bundle install

Once bundler has done its thing, you’ll be able to use PushType’s Rails generators. Execute from the terminal:

rails g push_type:install

That will install a configuration file in config/initializers, setup some rules is config/routes.rb, and migrate your database.

Finally, from the terminal run this rake task to create a user with which you’ll be able to log in to PushType:

rake push_type:create_user

What next?

I’m guessing that didn’t even take five minutes, right?

At this point, you can fire up your application and start poking around in the admin UI:

http://localhost:3000/admin

However, you won’t be able to create any content yet. You need to start generating node types.