Ruby HTML CSS JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin make it public Oct 1, 2016
config
db/migrate
lib
spec
.gitignore remove Gemfile.lock from version control Mar 30, 2017
.travis.yml update travis config Aug 2, 2017
CHANGELOG.md
CONTRIBUTING.md
Gemfile add first specs Feb 9, 2017
MIT-LICENSE
README.md
Rakefile add feature allowing model elements creation using website forms - cl… Feb 10, 2017
config.ru
kms_models.gemspec Sorting (by dran'n'drop) Model's fields - closes #4 Aug 2, 2017

README.md

KMS Models

Build Status Code Climate

This extension adds "Models" section in KMS and allows to define custom models on-the-fly. Supported fields for definition in Model: String, Text, Checkbox, File, HasMany, BelongsTo. Note that this extension requires at least PostgreSQL 9.2 because of JSON column type.

Installation

  1. Add to Gemfile

     gem "kms_models"
     # or for edge version:
     gem "kms_models", github: "webgradus/kms_models"
    
  2. Run generator:

     rails g kms_models:install
    
  3. Copy migrations:

     rails kms_models:install:migrations
    
  4. Migrate:

     bundle exec rails db:migrate
    
  5. Recompile assets:

     bundle exec rails assets:precompile
    
  6. Restart KMS instance

Getting started

Please watch this video to start using KMS Models:

Getting started with KMS Models extension

Contributing

Please follow CONTRIBUTING.md.