{"id":23535208,"url":"https://github.com/warelab/gramene-sites","last_synced_at":"2025-11-01T00:30:29.563Z","repository":{"id":46017335,"uuid":"407244305","full_name":"warelab/gramene-sites","owner":"warelab","description":"Front end of gramene main and subsites","archived":false,"fork":false,"pushed_at":"2025-02-07T21:22:58.000Z","size":19237,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-02-07T22:27:42.649Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/warelab.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-16T16:50:06.000Z","updated_at":"2025-02-07T21:23:02.000Z","dependencies_parsed_at":"2022-09-23T08:30:37.313Z","dependency_job_id":"69dd26b8-5f26-4b7f-ae0b-04a568b4a591","html_url":"https://github.com/warelab/gramene-sites","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warelab%2Fgramene-sites","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warelab%2Fgramene-sites/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warelab%2Fgramene-sites/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warelab%2Fgramene-sites/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warelab","download_url":"https://codeload.github.com/warelab/gramene-sites/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239242106,"owners_count":19605954,"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-12-26T01:15:32.616Z","updated_at":"2025-11-01T00:30:29.534Z","avatar_url":"https://github.com/warelab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gramene-sites\nFront end of gramene main and subsites\n\nInstall dependencies\n```shell\nnpm install\n```\nThis hack is necessary to get Parcel to transpile imported node modules correctly.\n\nEdit \u003ccode\u003enode_modules/@parcel/core/lib/summarizeRequest.js\u003c/code\u003e\n\nChange \u003ccode\u003ereturn !filePath.includes(NODE_MODULES);\u003c/code\u003e\nto \u003ccode\u003ereturn true;\u003c/code\u003e\n\n\nStart a site in development mode\n```shell\nnpm run main\nnpm run maize\nnpm run grapevine\n...\n```\n\nBuild a site for production\n```shell\nnode build.js [-h] [-m MODE] site\n```\n\nWhen updating the search index for a site, you have to change the ```grameneData``` field in ```conf/site.json``` and the ```gramene.defaultServer``` in ```html/site.html```\n\nWhe you configure a new site, you need to create ```conf/site.json``` and ```html/site.html``` and also add it to ```conf/index.js``` and ```package.json```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarelab%2Fgramene-sites","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarelab%2Fgramene-sites","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarelab%2Fgramene-sites/lists"}