Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

DimaSamodurov/orvabud

Repository files navigation

h1. ORVABUD

Simple CMS site for a building company.
Based on Refinery CMS.

h1. Development tips:

h3. Add new model to hallety

    rails g refinery_engine gallery_section name:string gallery:engine


h3. To update migrations

rollback and remove appropriate migrations from root app, then update migrations in vendor, then run to copy migrations again to root:

    rails generate refinerycms_gallery gallery_entries gallery_sections
    rake db:migrate

h2. Production installations

Install imagemagick to enable images:

    sudo apt-get install imagemagick