{"id":23125122,"url":"https://github.com/statisticsnorway/mimir","last_synced_at":"2025-08-17T03:32:42.881Z","repository":{"id":37401747,"uuid":"207263387","full_name":"statisticsnorway/mimir","owner":"statisticsnorway","description":"Publiseringsløsning for ssb.no","archived":false,"fork":false,"pushed_at":"2025-08-15T10:08:45.000Z","size":86557,"stargazers_count":9,"open_issues_count":11,"forks_count":1,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2025-08-15T10:29:40.396Z","etag":null,"topics":["backstage","front-end","government","publishing","publishing-platform","statistics"],"latest_commit_sha":null,"homepage":"https://www.ssb.no","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/statisticsnorway.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-09-09T08:39:47.000Z","updated_at":"2025-08-15T10:08:48.000Z","dependencies_parsed_at":"2023-10-16T15:00:02.551Z","dependency_job_id":"ce06012a-6b40-44c1-be5a-d50ad3b3ea86","html_url":"https://github.com/statisticsnorway/mimir","commit_stats":null,"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"purl":"pkg:github/statisticsnorway/mimir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statisticsnorway%2Fmimir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statisticsnorway%2Fmimir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statisticsnorway%2Fmimir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statisticsnorway%2Fmimir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statisticsnorway","download_url":"https://codeload.github.com/statisticsnorway/mimir/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statisticsnorway%2Fmimir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270803013,"owners_count":24648682,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["backstage","front-end","government","publishing","publishing-platform","statistics"],"created_at":"2024-12-17T08:12:37.430Z","updated_at":"2025-08-17T03:32:41.848Z","avatar_url":"https://github.com/statisticsnorway.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mimir\n\nThis is the abbreviated documentation. For details, see our [more complete documentation here.](docs/README.md)\n\n## Getting started\n\nDownload and install Node version **18.12.1** from https://nodejs.org/en/\nMake sure to keep the version synced to the one used by gradle, found in `build.gradle` under `node { version: ... }`.\n\nInstall latest Enonic CLI according to [docs for you platform](https://developer.enonic.com/start)\n\n## Installing dependencies\nDo **not** run `npm install` because this might install the incorrect versions of packages.\n\nGradle will do this for you when you run `enonic project deploy`.\nThis command does all the steps necessary to get a finished artifact which can be installed on XP.\nIt will install dependencies and compile, bundle etc. a production ready JAR file. \n\n## Starting Enonic XP locally in development mode\n### Sandbox\nCreate a sandbox with the same version as our QA server is running, or as specified by `xpVersion` in `gradle.properties`.\n\nOpen your preferred terminal and run: \n```\nenonic sandbox start\n```\nThis will either help you create a new sandbox, or start an existing sandbox. It is **not** recommended to put the version number in the sandbox name, since when we upgrade to a new version of XP, the existing sandbox is upgraded.\n\n### Build and Deploy\nAfter you have your sandbox up and running, you can build and/or deploy the project by using:\n```\nenonic project deploy\n```\nor\n```\nenonic project build\n```\n\n### Development\n\nStart your sandbox in dev mode\n```\nenonic sandbox start --dev\n```\n\u003cbr\u003e\n\nRun \n```\nenonic project deploy\n```\nif you haven't already. The first time this is done it creates a connection between your local code repository and the XP server and will enable a better dev mode. \n\n\u003cbr\u003e \n\nRun\n```\nnpm run dev\n```\nto start multiple watches in parallel that will watch for changes in TypeScript, JavaScript and SCSS files.\nA browserSync instace will also be started. If you have a page open (edit or preview mode) it should reload automatically on save.\nIf not, most changes to files should be ready after page refresh after a few seconds. \n\n#### Typescript interfaces Code-Gen\nWe're using the `enonic-ts-codegen` library. This reads through all .xml config files and automatically creates interface files for all parts, layouts, pages, site-config, and content-types. This is a part of the gradle.build pipeline. So they will be regenerated and overwritten on every build. To change the interface you'll have to change the .xml, not the .ts interface files.\n\n#### [Common Errors](./docs/CommonErrors.md)\n#### [Eslint](./docs/Eslint.md)\n\n## Login\nDirect your favorite browser to http://localhost:8080\n\n### How to start working on a feature\n```\n$ git checkout master\n$ git pull\n$ git checkout -b MIM-9999_add-feature-x\n... do changes ...\n$ git commit -a -m \"detailed commit message\"\n$ git status\n... verify that correct files are included ...\n$ git push -u origin MIM-9999_add-feature-x\n... create pull-request to master ...\n```\n\nTry to start the branchname with the related JIRA task if there is one.\n\n## Deploying builds to environments\n### Setup\nUpon creating and updating pull requests, Github actions builds and deploys your code to the TEST server where *mabl* runs automatic tests.   \nThis build and tests must pass in order for you to be able to merge your pull request.   \nTests will run again on subsequent commits to the same branch.\n\nUpon merging a branch to Master, it is built and deployed to QA where *mabl* tests it again.\n\nDeploying to PROD is done manually through a Github action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatisticsnorway%2Fmimir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatisticsnorway%2Fmimir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatisticsnorway%2Fmimir/lists"}