Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time



How to setup a copy of the BIOPAMA RIS

The file system

  1. Install Composer "Globally" on your webserver (
  2. Depoly this repo to the root of your web directory.
  3. Run composer install - this will install Drupal into a deafult 'web' folder, and all the modules the RIS currently uses.
  4. Deploy the BIOPAMA Form Hooks module ( in the /modules/custom directory
  5. Deploy the bootstrap_barrio_biopama Theme ( in the /themes/custom directory
  6. Follow the instructions to generate your own regional MAPs in the BIOPAMA Map Tiles repo (

Next steps

  1. Setup a database in mySQL or Postgres that will be used for Drupal (MySQL is recommended for compatibility with Automatic backup scripts)
  2. Follow the Drupal installation instructions in a web browser by navigating to where you set it all up.
  3. Check the Drupal Status page and ensure that everything is OK with permissions and the file system. (Fix any issues it reports)
  4. Right now there's no module to manage the content types and views. So in order to get all the content types generated you must clone the current RIS database. Contact me if you need a copy. You can 'restore' database over the one from the first steps.
  5. Clear the cache.


New Landingpage Module

Here's a link to the new module which can be used to replace the main page in the site: There's a few changes that need to be done if this module that come pagkaged in the updated 'bootstrap_barrio_biopama' theme. The theme must be updated to the latest version. And in the settings "/admin/config/system/site-information" change the "Default Frontpage" to "/landingpage"

Keeping the BIOPAMA RIS up to date

In the future if there are any changes to any of the 3 main repos:

  • biopama_form_hooks
  • bootstrap_barrio_biopama

All you need to do is git pull from the corresponding git repo directory. For example: if "biopama_form_hooks" has been updated. Browse to the /modules/custom/biopama_form_hooks directory in your installation and run the git pullcommand

If the BIOPAMA-RIS-Core repo was the one that changed you must also run composer update from the root of your composer project directory where you setup the RIS and then check your drupal site for database-updates in the site status report.


The /biopama-config/DEFAULT_map_settings.js MUST be renamed to /biopama-config/map_settings.js to ensure that the settings are not replaced if there is an update to the configuration options at a later date. And to acctually make it work since the RIS is looking for map_settings.js.


  • Remove testing modules from composer
  • Create Additional Module to manage the Content types and views so a database clone is no longer needed.


The First step in setting up your own regional reference information system from BIOPAMA







No releases published


No packages published