Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 629 Bytes

installation.md

File metadata and controls

30 lines (17 loc) · 629 Bytes

Installation

  1. Add to Gemfile

     gem "kms"
     # or for edge version:
     gem "kms", github: "apiqcms/kms"
    
  2. Setup database.yml (only PostgreSQL 9.2+ supported)

  3. Run generator:

     rails g kms:install
    
  4. Copy migrations:

     rails kms:install:migrations
    
  5. Migrate:

     rails db:migrate
    
  6. Set locale in your main app.

  7. Precompile assets (if it will be production app):

     RAILS_ENV=production bundle exec rails assets:precompile
    
  8. Run it using your favorite webserver - unicorn, puma, thin

  9. Open your browser at http://localhost:3000/kms and sign up first admin user.