{"id":47665356,"url":"https://github.com/bcgov/bcrhp","last_synced_at":"2026-04-02T11:54:55.589Z","repository":{"id":278291933,"uuid":"928497677","full_name":"bcgov/bcrhp","owner":"bcgov","description":"BC Register of Historic Places","archived":false,"fork":false,"pushed_at":"2026-03-24T15:24:34.000Z","size":62371,"stargazers_count":0,"open_issues_count":44,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-24T17:25:17.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bcgov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-06T18:26:20.000Z","updated_at":"2026-03-12T19:19:10.000Z","dependencies_parsed_at":"2025-02-19T02:22:54.949Z","dependency_job_id":"9e73e23b-f089-411c-8621-3cc258a6a2d7","html_url":"https://github.com/bcgov/bcrhp","commit_stats":null,"previous_names":["bcgov/bcrhp"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/bcgov/bcrhp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcgov%2Fbcrhp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcgov%2Fbcrhp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcgov%2Fbcrhp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcgov%2Fbcrhp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bcgov","download_url":"https://codeload.github.com/bcgov/bcrhp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcgov%2Fbcrhp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31305923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T09:48:21.550Z","status":"ssl_error","status_checked_at":"2026-04-02T09:48:19.196Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-02T11:54:54.615Z","updated_at":"2026-04-02T11:54:55.583Z","avatar_url":"https://github.com/bcgov.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BC Register of Historic Places\nBC Register of Historic Places implementation of Arches\n![Lifecycle:Maturing](https://img.shields.io/badge/Lifecycle-Maturing-007EC6)\n\n### Running in Docker\n**These steps assume that the base directory is ~/git.**\n1. Start Docker Desktop\n2. Create the Arches Dependency Containers:\n``` shell\ncd ~/git\ngit clone https://github.com/bcgov/arches-dependency-containers\ncd arches-dependency-containers/arches-7-5-2\ndocker compose up\n```\nThis should result in a set of docker containers that have the base dependency software to run\nArches (Postgres, Elasticsearch, Redis, etc).\n\n3. Clone BCGov Arches Core at the same level as this directory. Assuming that all dependencies\n   are installed in ~/git/bcrhp/ by running `git clone  https://github.com/bcgov/BCHeritage_arches bcrhp`.\n``` shell\ncd git/bcrhp/src\ngit clone https://github.com/bcgov/arches\ngit clone https://github.com/bcgov/bcgov-arches-common\ncd arches \u0026\u0026 git checkout stable/7.6.4.1_bcgov\n# This should result in a directory structure like the below:\n~/git/bcrhp/\n     /bcrhp/src/arches/                # \u003c- This is a clone of the arches bcgov/arches repo\n     /bcrhp/src/bcrhp/                 # \u003c- This directory\n     /bcrhp/src/bcgov-arches-common/   # \u003c- This is a clone of the bcgov/bcgov-arches-common repo\n```\n\n\n4. Change back to the src/bcrhp directory and create the test user data file at\n   `bcrhp/management/data/test_user_list.py`:\n\n    1. the password is only a dummy password so it can be left as is. OIDC is used so when\n       authenticating you will use your IDIR username and password.\n    2. the `@idir` suffix is necessary\n    3. tht `\u003cidir username\u003e` must be in lower case\n``` python\ndef get_user_list():\n   return (\n   {\"name\": \"\u003cidir username\u003e@idir\", \"email\": \"\u003cemail\u003e\", \"password\": \"Test12345!\", \"is_superuser\": True,\n   \"is_staff\": True, \"first_name\": \"\u003cfirst name\u003e\", \"last_name\": \"\u003clast name\u003e\",\n   \"groups\": [\"Resource Editor\", \"Resource Reviewer\", \"Heritage Branch\", \"Resource Exporter\"]},\n   )\n```\n\n5. Create the `git/bcrhp/src/bcrhp/.env` file using the dot.env.j2 as a template.\n- The AUTH_BYPASS_HOSTS should include the webpack container name and IP address, `localhost` and the bcrhp container\nname and IP address. This is typically not available until after creating the container in the next step, so the \nwebpack build will fail. After creating the container add the 2 IP addresses to the `AUTH_BYPASS_HOSTS` parameter and\nrestart the containers. The webpack build should work the second time around\n- Fill in all .env variables with `{{ }}` values, substituting the appropriate values.\n\n6. Create the BCRHP containers (this will fail the first time):\n```shell\ncd git/bcrhp/src/bcrhp\ndocker compose up\n```\n\nYou should now be able to access BCRHP at http://localhost/bcrhp\n\n6. After logging into BCRHP, the map will initially be blank. Navigate to the system settings in the LHS\n   menu and enter your Mapbox token there.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcgov%2Fbcrhp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbcgov%2Fbcrhp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcgov%2Fbcrhp/lists"}