Skip to content

About

github pages site for www.openskope.org

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

OpenSKOPE website

Hugo/Docsy site for www.openskope.org, seeded from the existing WordPress export. The SKOPE application remains a separate service at https://app.openskope.org.

Local development

Install Git, Make, Docker and Docker Compose. Run from the repository root:

make serve
# http://localhost:1313
make stop

Use make serve PREVIEW_PORT=1314 if another site uses port 1313. Source is mounted into the toolchain image; rebuilding the image does not bake in site content. make serve rebuilds and renews the dependency volume. Project tools run inside the container; no host Hugo, Go, Node, npm or Python installation is required.

make render                    # production export in public/
make check                     # render, dependency/import tests, local link/media checks
make toolchain-status          # installed tools and dependencies
make shell                     # container shell

Stop this project's preview before make render or make check; the render checks for a running preview before clearing shared output. In a separate checkout, use a distinct Compose project, for example make check COMPOSE_PROJECT_NAME=openskope-review. For a subpath check:

make render RENDER_BASE_URL=https://example.org/preview/
make site-check RENDER_BASE_URL=https://example.org/preview/
make render

The interface follows Making Models FAIR and OMF: HUGO_VERSION plus the Dockerfile image digest pin Hugo; go.mod pins Docsy; npm supplies Bootstrap, Font Awesome and embedded Dart Sass. Self-hosted Bitter and Source Sans 3 fonts are shared with the SKOPE UI changes; font refreshes use make deps-fonts. See dependency upgrades and agent guidance. OpenSKOPE omits their bibliography/catalog tooling.

Shared content and styling

This repository owns shared/web/: reusable footer content, CSS/tokens, application terms and canonical application citation metadata. Hugo renders it directly; /cite-skope/ and /terms-of-use/ publish that content. SKOPE UI consumes a commit-pinned bundle and retains its application behavior and consent flow. Builds use local verified files with no reverse dependency on the app. See shared web maintenance for updates and validation. The source/build link identifies this website's Git revision; tracked local edits add -dirty to the build label.

Content and migration

Edit content/. Imported pages use readable HTML inside Markdown files to retain WordPress figures, tables and anchors without a lossy automatic conversion. New prose can use Markdown. Use descriptive URL slugs matching link labels, and retain original WordPress paths as front matter aliases when renaming pages. See migration review.

The original XML remains local and is ignored by Git: it includes unpublished and administrative data. Never put it in static/ or publish it. Routine builds do not read the export or fetch WordPress media.

make import-wordpress IMPORT_OUTPUT=/src/tmp/wordpress-review
# Review tmp/wordpress-review on the host before copying into source.

Set WORDPRESS_EXPORT=/src/other-export.xml for another export. The importer refuses nonempty output directories. make media-fetch is an explicit network operation which writes the referenced media and their checksums; review changes. The initial lock/workspace can be regenerated with make bootstrap if starting from manifests without those files; ordinary clones already contain both and should use make build.

GitHub Pages

Source repository: https://github.com/openskope/openskope.github.io (private). To activate Pages after reviewing and committing the source:

  1. Review the local changes and migration report, then commit and push to main to seed the repository. Builds validate and upload an artifact; deployment stays disabled until the PAGES_ENABLED repository variable is set to true.
  2. After that first push, in Settings → Pages, choose GitHub Actions as the source. This avoids requiring Pages configuration before content exists.
  3. Configure the custom domain as www.openskope.org, verify domain ownership, and follow GitHub's current DNS instructions. static/CNAME records the intended domain; it does not configure repository settings or DNS.
  4. Confirm TLS and HTTPS enforcement before switching traffic from WordPress. Keep a private backup for comparison; isolate the vulnerable WordPress/PHP origin promptly and do not restore it as a public rollback target.
  5. When ready for publication, add repository Actions variable PAGES_ENABLED with value true under Settings → Secrets and variables → Actions → Variables. Run Actions → Build and deploy to GitHub Pages → Run workflow on main. Subsequent successful pushes to main publish automatically. Feature-branch PRs and manual dispatches on feature branches cannot deploy. Clear the variable to suspend new deployments; this does not remove an already published site.
  6. Enable repository security monitoring and personal notification delivery using the dependency runbook.

Do not repoint app.openskope.org. This repository publishes the information and documentation site only. Before cutover, review unresolved legacy references and historical statements, compare key pages, navigation and search on desktop/mobile, and verify media/downloads. No GitHub repository, DNS or live site is changed by local initialization.

For recovery, redeploy the last accepted source commit through the same workflow; retain a previous Pages artifact before publication. Application/database recovery belongs to the separate SKOPE deployment. Reverting this static site does not recover or roll back application data.

About

github pages site for www.openskope.org

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages