Get started and install the PushType RubyGem.
This tutorial will guide you through the simple process of installing PushType in to your Rails application.
PushType takes advantage of modern features of PostgreSQL, which in turn requires a recent version of Rails.
- Rails 4.2+
- PostgreSQL 9.4
Assuming you have a Rails app ready to go, add the following line to the
Then execute from the terminal:
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:
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:
However, you won’t be able to create any content yet. You need to start generating node types.