-
Notifications
You must be signed in to change notification settings - Fork 3
Adding a New Library to the System
the new library's classification with the appropriate fields:
rails g migration name_for_migration This will create migration file to be edited see other classifications for examples
Run rake db:migrate
Run rake db:seed
Add to app/models the Library Section to be added
admin.js Add the new classification to the dropdown statement to load the correct form
Define the canvas size of the library, according to the ratio of the floor plan
Add box_size and floors to libraries_data object
application_controller.rb Add the corresponding classification conditions in the to query the correct table
admin/map.html.erb Add library to navigation in admin area
map_display/map.html.erb Add library to navigation
admin/index.html.erb Add link to Library in linkblock row
Get the architectural plans of the library’s floors and add them as PNG overlays in public/asset the filename convention overlay_library_floor.png
Any questions please contact [email protected]