Presentation is loading. Please wait.

Presentation is loading. Please wait.

Developer track Marta Ribeiro

Similar presentations


Presentation on theme: "Developer track Marta Ribeiro"— Presentation transcript:

1 Developer track Marta Ribeiro marta.ribeiro@ed.ac.uk

2 Objectives DMPonline data structure Prerequisites Gems Steps to run RoR What’s next? 10th November 2015Roskilde University, Copenhagen

3 DMPonline data Institution User DMP Project Funder DMP Template Guidance 10th November 2015Roskilde University, Copenhagen

4 DMPonline data Institution User DMP Project Funder DMP Template Guidance Users Templates Guidance DMPs 10th November 2015Roskilde University, Copenhagen

5 Prerequisites DMPonline is a Ruby on Rails application, and currently we are running it Intel(R) Xeon(R) CPU @ 2.50GHz Red Hat Enterprise Linux Server v 6.7 Ruby 2.0.0p247 Rails 3.2.22 MySQL server v5.0 or greater. 10th November 2015Roskilde University, Copenhagen

6 Gems source 'https://rubygems.org' # # RAILS # gem 'rails', '3.2.22' gem 'less-rails' gem 'twitter-bootstrap-rails' gem 'sass-rails', '~> 3.2.3' gem 'sass' gem 'therubyracer', '0.11.4gem 'libv8' gem 'ledermann-rails-settings' gem 'jbuilder' #to allow cloning of objects gem 'amoeba' # Gems used only for assets and not required in production group :assets do gem 'coffee-rails', '~> 3.2.1' end group :development do gem "better_errors" gem "binding_of_caller" end # # DATABASE/SERVER # gem 'mysql2', '0.3.10' # Use unicorn as the app server # gem 'unicorn' #cancan for usergroups gem 'cancan' 10th November 2015Roskilde University, Copenhagen

7 Gems (cont.) # # USERS # # devise for user authentication gem 'devise' gem 'devise_invitable' gem 'omniauth' gem 'omniauth-shibboleth' #rolify for roles gem 'rolify' # Gems for repository integration gem 'email_validator' gem 'validate_url' # # VIEWS # gem 'jquery-rails' gem 'tinymce-rails' gem 'friendly_id' gem 'contact_us' gem 'recaptcha‘ gem 'uglifier' #implementation of forms gem 'activeadmin', '1.0.0.pre1' # # EXPORTING PLANS # gem 'thin' gem 'wicked_pdf' gem 'feedzirra', '0.5.0' # WORD DOC EXPORTING gem 'caracal', '~> 1.0' gem 'caracal-rails', '~> 1.0‘ gem ‘nokogiri’ 10th November 2015Roskilde University, Copenhagen

8 Steps to run RoR Ruby commands: –If changes have been made to ‘Gemfile’ $ rm Gemfile.lock $ bundle install –If changes have been made to the DB $ rake db:migrate RAILS_ENV=production –Steps to make changes live $ rake assets:clean $ rake assets:precompile:all RAILS_ENV=production $ rm -rf tmp/cache/assets $ > log/production.log $ sudo /usr/sbin/apachectl restart 10th November 2015Roskilde University, Copenhagen

9 What’s next? A number of enhancements and new features are planned. These include: APIs to create plans, extract guidance and generate statistics from DMPonline Multi-lingual support so foreign language versions can be presented Locale-aware support to provide tailored instances for particular countries or other contexts A lifecycle to indicate the status of DMPs and allow institutional access to plans Support for reviewing Data Management Plans 10th November 2015Roskilde University, Copenhagen

10 Q&A Image credit: The original SimonB - www.flickr.com/photos/26565770@N02/6394748009 10th November 2015Roskilde University, Copenhagen


Download ppt "Developer track Marta Ribeiro"

Similar presentations


Ads by Google