@Brian Riley Brian Riley authored on 17 Jan 2017
GitHub committed on 17 Jan 2017
app add a reset_password_link method for convenience 7 years ago
bin Merging current stable development branch into master (#23) 7 years ago
config reinstate branding.yml 7 years ago
db expand migration to work with pg 7 years ago
doc Merging current stable development branch into master (#23) 7 years ago
html implimenting auth changes in the views 7 years ago
lib editing a guidance by question now shows template through question 7 years ago
log DMPonline4 - RAILS 4.0 (#4) 7 years ago
public Added a contribution info-graphic for the wiki 7 years ago
test fixed issue with settings data saved to the DB using an old version of the gem. stripped html tags from question text for display in the export form. 7 years ago
.gitignore renamed layout partials to remove reference to dmponline. Updated configurations so that the code default assets are stored in lib/assets and any instance specific versions would be stored within app/assets. Move static page content out of the large locales files and placed examples of them into config/locales/static_pages 7 years ago
.travis.yml removed mysql dependency from travis file and updated database_example.yml so that it uses sqlite instead of mysql for testing 7 years ago
Gemfile fixed db migration so that it does not update user records in TEST mode. Added sqlite3 to gemfile for tests. Added languages fixture 7 years ago
Gemfile.lock fixed db migration so that it does not update user records in TEST mode. Added sqlite3 to gemfile for tests. Added languages fixture 7 years ago
LICENSE.md Merging current stable development branch into master (#23) 7 years ago
README.md update ReadMe.md 7 years ago
README.rdoc Merging current stable development branch into master (#23) 7 years ago
Rakefile Merging current stable development branch into master (#23) 7 years ago
config.ru Merging current stable development branch into master (#23) 7 years ago
README.md

DMP Roadmap

DMP Roadmap is a Data Management Planning tool. Management and development of DMP Roadmap is jointly provided by the Digital Curation Centre (DCC), http://www.dcc.ac.uk/, and the University of California Curation Center (UC3), http://www.cdlib.org/services/uc3/

The tool has four main functions:

  1. To help create and maintain different versions of Data Management Plans;
  2. To provide useful guidance on data management issues and how to meet research funders' requirements;
  3. To export attractive and useful plans in a variety of formats;
  4. To allow collaborative work when creating Data Management Plans.

Current Release

v.0.1.0 Build Status

Summary

Pre-requisites

Roadmap is a Ruby on Rails application and you will need to have:

  1. Ruby >= 2.0.0p247
  2. Rails >= 4.0
  3. MySql >= 5.0

Further details on how to install Ruby on Rails applications are available from the Ruby on Rails site: http://rubyonrails.org

Further details on how to install MySQL and create your first user and database. Be sure to follow the instructions for your particular environment.

You may also find the following resources handy:

Installation

  • Create your mysql db. Select UTF-8 Unicode (utf8mb4) encoding.
  • Fork the repository and then clone it onto your server
> git clone https://github.com/[your organization]/roadmap.git

> cd roadmap
  • Make copies of the yaml configuration files and update the values for your installation
> cp config/database_example.yml config/database.yml
> cp config/secrets_example.yml config/secrets.yml
  • Create an environment variable for your instance's secret (as defined in config/secrets.yml). You should use the following command to generate secrets for each of your environments, storing the production one in the environment variable:
> rake secret
  • Run bundler and perform the DB migrations
> gem install bundler (if bundler is not yet installed)

> bundle install

> rake db:migrate

> rake db:seed
  • Setup the devise authentication gem
> rails generate devise:install     (Is this really necessary?)
  • Start the application
> rails server
  • Verify that the site is running properly by going to http://localhost:3000
  • Login as the default administrator: 'super_admin@example.com' - 'password1'

Troubleshooting

Installation - OSX:
An error occurred while installing libv8 (3.11.8.17), and Bundler cannot continue.

Make sure that `gem install libv8 -v '3.11.8.17'` succeeds before bundling.

If you are installing on a system that already has v8 installed then you may need to install the libv8 gem manually using your system's current v8 engine. If you're using homebrew to manage your packages you should run 'brew update' and 'brew upgrade' to make sure you have the latest packages

> gem uninstall -a libv8

> gem install libv8 -v '<<VERSION>>' -- --with-system-v8

> bundle install

Support

Issues should be reported here on Github Issues Please be advised though that we can only provide limited support for your local installations.

Become a contributor

Fork this repository and make your modifications in a new branch. Then create a pull request to our 'development' branch. We will reject any pull request made against the 'master' branch. Once your pull request has been submitted the team will review your request and accept it if appropriate.

Join the developer email listserv at www.jiscmail.ac.uk/DMPONLINE-DEV

License

The DMP Roadmap project uses the MIT License.