Skip to content

The Black Rock Virtual Forest Initiative aims to provide a technological framework to support and enhance research, education, and community activities centered on scientific activities at Black Rock Forest.

License

Notifications You must be signed in to change notification settings

ccnmtl/blackrock

Repository files navigation

Actions Status

Black Rock

The Virtual Forest Initiative supports and enhances research, education, and community activities at Black Rock Forest. The forest, located 50 miles north of New York City in the Hudson Highlands, is a 4000-acre natural living laboratory for field-based scientific inquiry; it is operated by a unique consortium of colleges and universities, public and independent schools, and scientific and cultural institutions.

REQUIREMENTS

  • Python 3.11
  • PostgreSQL
  • Apache Solr

SpatiaLite requirement

To run the tests, you need SpatiaLite installed for SQLite. Here's the packages you need, depending on your OS:

Debian/Ubuntu:

  • libsqlite3-mod-spatialite

Homebrew (Mac OS X): Instructions here

If you get a "library not found" error when running make test, add a line to local_settings.py, as documented here:

SPATIALITE_LIBRARY_PATH='mod_spatialite'

PostGIS migration problem

If you get the error: ERROR: must be owner of type spheroid when running the migrations, try following these steps:

$ sudo -u postgres psql blackrock
blackrock=# drop table spatial_ref_sys;
blackrock=# drop table geometry_columns;
blackrock=# create extension postgis;

Then you should be able to run the migrations. I'm guessing this happens because of a version mis-match between the postgres/postgis used to export the database, and the versions in the local environment. This happened to me on Ubuntu 16.04.

About

The Black Rock Virtual Forest Initiative aims to provide a technological framework to support and enhance research, education, and community activities centered on scientific activities at Black Rock Forest.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published