Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opendrr/h7-riskprofiler
WordPress code for RiskProfiler.ca, developed by HabitatSeven
https://github.com/opendrr/h7-riskprofiler
canada disaster-risk-management habitatseven riskprofiler wordpress-site
Last synced: 3 months ago
JSON representation
WordPress code for RiskProfiler.ca, developed by HabitatSeven
- Host: GitHub
- URL: https://github.com/opendrr/h7-riskprofiler
- Owner: OpenDRR
- Created: 2022-03-25T13:16:26.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-25T17:39:54.000Z (7 months ago)
- Last Synced: 2024-10-10T04:02:27.848Z (3 months ago)
- Topics: canada, disaster-risk-management, habitatseven, riskprofiler, wordpress-site
- Language: PHP
- Homepage:
- Size: 89.9 MB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HabitatSeven’s source code for the RiskProfiler website
This git repository is a slightly modified mirror of the RiskProfiler WordPress git reposiory developed and maintained by HabitatSeven.
## Changes from H7’s original repo
* site/wp-config.php: This was changed to a symbolic link, to be linked with ../wp-config.php that is generated from wp-config-docker.php.
* Changes from upstream site/wp-config.php may either go into wp-config-docker.php, or sometimes to `.env` (e.g. change to `DB_NAME`).
* Addition of a GitHub Actions workflow that synchronizes with H7’s original repo## Troubleshooting
```bash
LAST_SYNC_UPSTREAM_REF=$(git tag -l --format='%(contents)' last-sync-upstream-ref)echo "$LAST_SYNC_UPSTREAM_REF"
git show "$LAST_SYNC_UPSTREAM_REF"UPSTREAM_MAIN_REF="$(git rev-parse --verify upstream/main)"
git cherry-pick -S "$LAST_SYNC_UPSTREAM_REF"..upstream/main
git tag -a -f -m "$UPSTREAM_MAIN_REF" last-sync-upstream-ref