Skip to content

Administration

Brian Riley edited this page Oct 24, 2022 · 10 revisions

This section explains how to administer an installation of DMPRoadmap

Enabling/disabling functionality

As the DMPRoadmap codebase continues to grow, the team will often make a new feature configurable. This means that you have the ability to turn features on or off based on your user's needs.

Note that new features will be disabled by default when new releases of this codebase are created.

To enable or disable a feature you must:

Maintenance tasks

The following are list of common maintenance tasks that you should run on a frequent basis:

  • Clear stale cache items bin/rails tmp:clear
  • 1st of the Month
    • Generate the usage statistics for the prior month: bin/rails stat:build_last_month_parallel RAILS_ENV=[env]
  • Monthy
    • Refresh the list of licenses (accessed on the Research Outputs tab): bin/rails external_api:load_spdx_licenses RAILS_ENV=[env]
    • Refresh the list of metadata standards (accessed on the Research Outputs tab): bin/rails external_api:load_rdamsc_standards RAILS_ENV=[env]
    • Refresh the list of repositories (accessed on the Research Outputs tab): bin/rails external_api:load_re3data_repos RAILS_ENV=[env]

Registering OAuth Providers

See the ## Registering OAuth Providers Guide ##