Skip to content
On this page

Installation

Requirements

  • Ruby on Rails >= 6.0
  • Ruby >= 2.7
  • api_only set to false. More here.

Installing Avo

Use this RailsBytes template for a one-liner install process.

rails app:template LOCATION='https://avohq.io/app-template'

OR

Take it step by step.

  1. Add gem 'avo' to your Gemfile
  2. Run bundle install.
  3. Run bin/rails generate avo:install to generate the initializer and add Avo to the routes.rb file.
  4. Generate an Avo Resource

Next steps

Please follow the next steps to ensure your app is secured and you have access to all the features you need.

  1. Set up authentication and tell Avo who is your current_user. This step is required for the authorization feature to work.
  2. Set up authorization. Don't let your data be exposed. Give users access to the data they need to see.
  3. Set up licensing.