Documentation for Information Management at

Logo

The Jornada IM Manual

View the Project on GitHub jornada-im/documentation

The JRN Website

The JRN website runs on Wordpress and is hosted by WPengine. The JRN webmaster, currently the lead Information Manager, has a WPengine.com account that allows access to the website backend for account management, website backups, and other administrative tasks. For content creation, editing, and website design, user accounts are created in the Wordpress environment.

Environments

There are 3 Wordpress environments available at the hosting provider.

Each environment has a unique name and web address at {environment}.wpengine.com. The production environment is the live website, so the DNS entry for lter.jornada.nmsu.edu points to this site.

Secure file management

The hosting provider allows secure shell (ssh) access to any environment using an SSH gateway. See setup instructions here. Once set up, issuing the command

ssh {environment}@{environment}.ssh.wpengine.net

should put the user into a terminal session on the web server. To move a directory of files, such as one of our website’s client-side apps, from a local machine to the website, use scp. For example, to push the zotero-biblio app to an environment you might do:

scp -r GitHub/zotero-biblio {environment}@{environment}.ssh.wpengine.net:/sites/{environment}/

There are occasional issues with the SSH Gateway at our hosting provider, so luckily, management of files with git is also supported. See the git setup instructions

Managing Wordpress from the command line

Once logged in to the shell of the web server environment there are a number of Wordpress command-line utilities that are available. See the description here:

https://developer.wordpress.org/cli/commands/

Removing mixed content (http:// -> https://)

For example, to remove mixed comment by replacing “http://” addresses with “https://” issue this command from the shell:

wp search-replace 'http://{environment}.wpengine.com' 'https://{environment}.wpengine.com'

Pushing changes to JS apps (lter-datacat, pub_list)

The primary data catalog and the publication lists, including the bibliography and non-EDI data catalog, are client-side apps hosted on our website (lter-datacat and Zotero-JavaScript-Search-Client, respectively) . Placing these apps there, and updating them, means adding a folder to the website’s root directory. This is done using scp, generally (see above), or by pushing changes via git.

Website content

There is a variety of static and dynamic content on the website an described below. This point of this document is to describe how that content was developed, how it is maintained, and by whom. Important website content areas are listed on the Homepage, or under the main menu items listed below.

Homepage

A mix of static and dynamic content.

The “Recent posts” section is a post grid populated with Wordpress posts beloging to the ‘Featured’ category. To add a new post to this section, create a post and assign to this category. All “Featured” posts created are collected on the featured post history page. This page is also where the “News” link in the main menu goes.

Still more to describe here…

About

Pages under this menu are mostly static content that has been adapted from earlier versions of the website. Mostly this content gets updated during website development pushes during proposal writing or midterm reviews.

Personnel

The StaffMembers plugin handles this - need to write up more on how this works…

Research

Mostly static content - again, usually updated during proposal pushes.

Data

This menu contains 3 data catalogs:

These are described below.

The Interactive Data Viewer is also here (and it needs to be documented somewhere…), as is the static species lists (that also need updating…).

Publications

There are both static and dynamic pages under the “Publications” menu. The Bibliography page is showing an app called zotero-biblio that reads our bibliography from a database hosted at Zotero.org. The Zotero-JavaScript-Search-Client app is written in javascript and was originally developed by Tim Whiteaker at BLE LTER. Our fork of this app, which has some customizations, is hosted and maintained in a GitHub repository. It is running on the Bibliography page through an iframe, but the app lives at https://lter.jornada.nmsu.edu/Zotero-JavaScript-Search-Client/complete_jrn.html on the website.

The Zotero bibliography

Tagging

There is a tagging system for tracking the relationship between publications in the bibliography and the Jornada LTER program.

Books

The Books page is a post grid populated with Wordpress posts beloging to the ‘Books’ category. To add new books, create a post and assign to this category.

Other pages under the “Publications” menu are static content.

Outreach

Mostly static content but the GRFP, Short Course, and REU pages contain post grids that display posts under the “Graduate-fellowship-project”, “Ecology-short-course”, and “REU-project” categories, respectively.

For Researchers

Static page - should stay fairly in-sync with this JER page.

Website apps

Data catalogs

The data catalog seen at https://lter.jornada.nmsu.edu/data-catalog/ is JRNs primary data catalog and is a javascript app called lter-datacat.

lter-datacat

The lter-datacat app is written in javascript and was originally developed by Geovany Ramirez and Jason Coombs. It is running on the main data catalog page through an iframe, but the app lives at https://lter.jornada.nmsu.edu/lter-datacat/ on the website.

The app is hosted and maintained in a GitHub repository

Partner data

This is in development on the staging website. It will list data held at repositories other than EDI.

In development, there is an instance of the Zotero-JavaScript-Search-Client tool running at https://lter.jornada.nmsu.edu/Zotero-JavaScript-Search-Client/complete_jrndata.html that can be i-framed in when ready.

Spatial data

The spatial data catalog is basically just a list of layers that can be downloaded as kmz files. Nothing fancy.

Zotero bibliography

Maintaining the Zotero app

Once you make changes to the repository you can upload the whole thing to our webhost using scp. The proper command would be:

scp -prq GitHub/Zotero-JavaScript-Search-Client/* {envname}@{envname}.ssh.wpengine.net:~/sites/{envname}/Zotero-JavaScript-Search-Client/

where {envname} is the environment name at the host (WPengine currently). You’d need to have some ssh keys set up.

Interactive data viewer

Mailing lists

Shared NMSU Outlook mailboxes

GNU Mailman lists on lists.nmsu.edu

There are 3 lists assigned to Jornada LTER on NMSU’s listserv system:

To administer these one must be on the NMSU VPN, or on campus, and visit the admin portal for each. The addresses for these are https://lists.nmsu.edu/mailman/admin/{listname}, where {listname} is jrn-l, jrnstudent-l, or jrnstaff-l.

Managing the lists

We use the basic list admin tools provided by Mailman - the site IM and PM mainly handle it (and are still learning).