{"id":18593306,"url":"https://github.com/acromedia/commerce-install","last_synced_at":"2025-11-02T03:30:31.198Z","repository":{"id":85539930,"uuid":"104240943","full_name":"AcroMedia/commerce-install","owner":"AcroMedia","description":"Installation tool for Drupal Commerce 2","archived":false,"fork":false,"pushed_at":"2018-05-30T19:29:29.000Z","size":853,"stargazers_count":5,"open_issues_count":6,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-26T20:17:55.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/AcroMedia.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":"2017-09-20T16:32:59.000Z","updated_at":"2018-05-30T19:29:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"74312c56-5677-43c2-af81-2ae5b19eb22a","html_url":"https://github.com/AcroMedia/commerce-install","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/AcroMedia%2Fcommerce-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcroMedia%2Fcommerce-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcroMedia%2Fcommerce-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcroMedia%2Fcommerce-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AcroMedia","download_url":"https://codeload.github.com/AcroMedia/commerce-install/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239372201,"owners_count":19627776,"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:12:02.179Z","updated_at":"2025-11-02T03:30:31.154Z","avatar_url":"https://github.com/AcroMedia.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kickstart\n\n\u003e Drupal Commerce Kickstart\n\n## Build Setup\n\n```bash\n# install dependencies\nnpm install\n\n# serve with hot reload at localhost:8080\nnpm run dev\n\n# build for production with minification\nnpm run build\n\n# build for production and view the bundle analyzer report\nnpm run build --report\n```\n\nFor detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).\n\n## Adding Sections\n1. Go to `/src/store/sections.js`.\n2. Follow the schema guide below or take a look at an active section.\n3. Create a `.vue` file in `/src/components/sections` (e.g. Example.vue).\n4. This is a [Single File Component](https://vuejs.org/v2/guide/single-file-components.html). Add your `\u003ctemplate\u003e` tag, and if your section has options/cards to select, add the `\u003ccards\u003e` tag to have them included.\n5. Go to `/src/components/Kickstart.vue` and import and add the `\u003cexample\u003e`\n\n##### JSON Schema:\n```json\n{\n  \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n  \"description\": \"A representation of a section in Commerce Kickstart.\",\n  \"type\": \"object\",\n  \"required\": [\"title\"],\n  \"properties\": {\n    \"title\": {\n      \"type\": \"string\",\n      \"description\": \"The title to display on the section.\"\n    },\n    \"description\": {\n      \"type\": \"string\",\n      \"description\": \"The description/sub-heading of the section.\"\n    },\n    \"required\": {\n      \"type\": \"boolean\",\n      \"description\": \"Determines if a card from this section must be selected.\"\n    },\n    \"options\": {\n      \"type\": \"object\",\n      \"description\": \"The options/cards made available to be selected by the user.\",\n      \"required\": [\"title\", \"description\", \"location\"],\n      \"properties\": {\n        \"title\": {\n          \"type\": \"string\",\n          \"description\": \"The title to display on the section.\"\n        },\n        \"description\": {\n          \"type\": \"string\",\n          \"description\": \"The descriptions of the section. Empty string allowed.\"\n        },\n        \"location\": {\n          \"type\": \"string\",\n          \"description\": \"The location for which this card is available.\"\n        },\n        \"default\": {\n          \"type\": \"boolean\",\n          \"description\": \"If set, this card will be selected by default. The default card MUST be the first option for the section.\"\n        },\n        \"composer_package\": {\n          \"type\": \"string\",\n          \"description\": \"The composer package to be added to the download.\"\n        },\n        \"composer_package_version\": {\n          \"type\": \"string\",\n          \"description\": \"The composer package version. Defaults to *\"\n        },\n        \"sponsored\": {\n          \"type\": \"boolean\",\n          \"description\": \"Flag a sponsored card.\"\n        },\n        \"img_src\": {\n          \"type\": \"string\",\n          \"description\": \"The path to the image file to be displayed on the card. Must be in the static folder to be properly rendered.\"\n        },\n        \"multiselect\": {\n          \"type\": \"boolean\",\n          \"description\": \"Determines if the section can have multiple selections.\"\n        }\n      }\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facromedia%2Fcommerce-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facromedia%2Fcommerce-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facromedia%2Fcommerce-install/lists"}