{"id":18596919,"url":"https://github.com/focusaurus/peterlyons.com-zola","last_synced_at":"2025-10-27T05:10:04.173Z","repository":{"id":38040179,"uuid":"163097185","full_name":"focusaurus/peterlyons.com-zola","owner":"focusaurus","description":"My work web site built with zola static site generator","archived":false,"fork":false,"pushed_at":"2024-08-28T11:21:58.000Z","size":5662,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-28T12:34:59.427Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/focusaurus.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-12-25T16:28:41.000Z","updated_at":"2024-08-28T11:22:02.000Z","dependencies_parsed_at":"2023-10-03T23:58:47.560Z","dependency_job_id":"65bc521b-7dc9-4cfc-a428-def30da61dd2","html_url":"https://github.com/focusaurus/peterlyons.com-zola","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focusaurus%2Fpeterlyons.com-zola","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focusaurus%2Fpeterlyons.com-zola/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focusaurus%2Fpeterlyons.com-zola/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focusaurus%2Fpeterlyons.com-zola/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/focusaurus","download_url":"https://codeload.github.com/focusaurus/peterlyons.com-zola/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239384749,"owners_count":19629509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-07T01:26:18.406Z","updated_at":"2025-10-27T05:09:59.153Z","avatar_url":"https://github.com/focusaurus.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# peterlyons.com static site generator\n\n**Tech stack**\n\n- zola static site generator\n  - tera templates\n- node/npm for some client side javascript apps and bundling\n- reveal.js for slides in markdown\n- typescript for plus party app\n\n## How to run locally: initial setup\n\n- Install the prerequisites\n  - bash\n  - git\n  - node\n    - (see .nvmrc for correct version)\n- `git clone` the repo\n- `cp .env.example .env`. Edit `.env` if necessary but usually it's fine as is.\n- Run `bin/build.sh`\n  - This will install zola and run npm if needed\n- Run `bin/serve.sh` for normal development\n  - Site opens to http://localhost:3333 by default\n\n## How to run unit tests\n\n- `bin/test.sh`\n\n## How to run content tests\n\nWe have some content smoke tests (using node-tap framework) that:\n\n- build the static site\n- start a transient web server to serve the files\n- load lots of pages, parse HTML, and check for particular content keywords or CSSselectors being present in the HTML\n\n`bin/test-content.sh`\n\n## How to run redirect integration tests\n\n- These should be run against a working server, which could be local development server, a netlify deploy preview, or production\n- `URI=http://localhost:3333 tap tests/redirects-tap.js`\n- or `bin/test-redirects.sh` for local development\n\n## How to stub out a new blog post\n\n- `bin/new-post.sh \"Post Title Goes Here\"`\n\n## How to develop using docker\n\n- Install the prerequisites\n  - bash\n  - git\n  - docker\n- run `./bin/docker-run.sh bin/serve.sh`\n- Site is at [http://localhost:3333]() by default\n- For all the other development tasks, the docker version starts with `bin/docker-run.sh` then the script you would run locally.\n  - `bin/docker-run.sh bin/test.sh` for example\n  - \n## How to run javascript tests\n\n(container) `./scripts-container/build.sh \u0026\u0026 npm test`\n\n## How to update dependencies: npm\n\n`npx npm-check-updates -u`\n\n## How to update zola\n\nEdit `ZOLA_VERSION` in `scripts-container/build.sh`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffocusaurus%2Fpeterlyons.com-zola","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffocusaurus%2Fpeterlyons.com-zola","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffocusaurus%2Fpeterlyons.com-zola/lists"}