{"id":16111800,"url":"https://github.com/cliffano/knut-haugland","last_synced_at":"2025-08-12T01:19:32.853Z","repository":{"id":252465340,"uuid":"826869472","full_name":"cliffano/knut-haugland","owner":"cliffano","description":"Makefile for creating Kon-Tiki static web sites","archived":false,"fork":false,"pushed_at":"2025-01-26T23:10:55.000Z","size":773,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T12:17:51.875Z","etag":null,"topics":["kon-tiki","makefile","website"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cliffano.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2024-07-10T14:40:36.000Z","updated_at":"2025-01-26T23:10:58.000Z","dependencies_parsed_at":"2025-01-24T15:20:53.342Z","dependency_job_id":"169c21df-0f41-4909-993a-b6f5b40b3118","html_url":"https://github.com/cliffano/knut-haugland","commit_stats":null,"previous_names":["cliffano/knut-haugland"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fknut-haugland","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fknut-haugland/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fknut-haugland/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fknut-haugland/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cliffano","download_url":"https://codeload.github.com/cliffano/knut-haugland/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445646,"owners_count":20939951,"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":["kon-tiki","makefile","website"],"created_at":"2024-10-09T19:45:33.994Z","updated_at":"2025-04-06T06:30:45.645Z","avatar_url":"https://github.com/cliffano.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"right\" src=\"https://raw.github.com/cliffano/knut-haugland/master/avatar.jpg\" alt=\"Avatar\"/\u003e\n\n[![Build Status](https://github.com/cliffano/knut-haugland/actions/workflows/ci-workflow.yaml/badge.svg)](https://github.com/cliffano/knut-haugland/actions/workflows/ci-workflow.yaml)\n\u003cbr/\u003e\n\nKnut Haugland\n-------------\n\nKnut Haugland is a Makefile for creating Kon-Tiki static web sites.\nIt provides utility targets for building, deploying, and managing the infrastructure of the static web sites.\n\nHave a look at [examples/](examples/) for example projects of how Knut Haugland can be used.\n\n![Screenshot of example static-content web site](/screenshots/example-static-content.png \"Example static-content web site\")\n\n![Screenshot of example static-redirect web site](/screenshots/example-static-redirect.png \"Example static-redirect web site\")\n\nInstallation\n------------\n\n1. Download `src/Makefile-knut-haugland` as the `Makefile` of your project:\n    `curl https://raw.githubusercontent.com/cliffano/knut-haugland/main/src/Makefile-knut-haugland -o Makefile`\n2. Create configuration file `knut-haugland.yml` with properties described in [Configuration](#configuration) section\n3. Run the available `Makefile` targets described in [Usage](#usage) section\n\nConfiguration\n-------------\n\nCreate KnutHaugland configuration file called `knut-haugland.yml` with contains the following properties:\n\n| Property | Description | Example |\n|----------|-------------|---------|\n| aws_region | [AWS region code](https://www.aws-services.info/regions.html) | `ap-southeast-2` |\n| bucket_name | [S3 bucket name for the static web site](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html) | `knuthauglandexample.example.com` |\n\nUsage\n-----\n\nThe following targets are available:\n\n| Target | Description |\n|--------|-------------|\n| ci | CI target to be executed by CI/CD tool, end to end build of the static web site |\n| stage | Ensure stage directory exists |\n| clean | Remove all temporary (staged, generated, cached) files |\n| deps | Retrieve package dependencies using [Bob](https://github.com/cliffano/bob/) |\n| update-to-latest | Update Makefile to the latest version on origin's main branch |\n| update-to-version | Update Makefile to the version defined in `TARGET_KNUT_HAUGLAND_VERSION` parameter |\n| build | Build the static web site using [AE86](https://github.com/cliffano/ae86/) |\n| deploy | Sends the built static web site code to AWS S3 bucket |\n| publish | A convenient target for running: clean deps init build deploy |\n| infra-\u003cinit|destroy|refresh|plan|apply|import\u003e | Targets for managing the infrastructure built using [Terraform AWS Kon-Tiki](https://github.com/cliffano/terraform-aws-kon-tiki/) |\n\n\nColophon\n--------\n\nRelated Projects:\n\n* [generator-kon-tiki](https://github.com/cliffano/generator-kon-tiki) - Kon-Tiki static web site projects generator using Plop\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliffano%2Fknut-haugland","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcliffano%2Fknut-haugland","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliffano%2Fknut-haugland/lists"}