-
Notifications
You must be signed in to change notification settings - Fork 109
Administration
Brian Riley edited this page Oct 24, 2022
·
10 revisions
This section explains how to administer an installation of DMPRoadmap
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:
- Locate the configuration setting in the config/initializers/_dmproadmap.rb file and then change its value to
true
orfalse
- Restart the Rails/Puma server
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]
- Generate the usage statistics for the prior month:
- 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]
- Refresh the list of licenses (accessed on the Research Outputs tab):
See the ## Registering OAuth Providers Guide ##
- Home
- About
- Development roadmap
- Releases
- Themes
- Google Analytics
- Get involved
- Translations
- Developer guide