Skip to content

Commit 17a2144

Browse files
committed
Initial release
1 parent 35e4b8f commit 17a2144

25 files changed

+197
-1
lines changed

README.md

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,56 @@
1-
# kickstart-stack-seed
1+
# Implementation Guides Stack Seed Content
2+
3+
This repository provides the Kickstart stack content for Kickstart projects. An easy way to import this stack content is by using the CLI seed command.
4+
5+
> Contentstack stack must have English as Master Language
6+
7+
To import this content to your stack, perform the following steps:
8+
9+
### Install the CLI
10+
11+
```bash
12+
npm install -g @contentstack/cli
13+
```
14+
15+
### Set your region
16+
17+
Using the CLI for the first time? It might ask you to set your default region.
18+
You can get all regions and their codes [here](https://www.contentstack.com/docs/developers/cli/configure-regions-in-the-cli) or run `csdx config:get:region`.
19+
20+
> Beware, Free Contentstack developer accounts are bound to the EU region.
21+
22+
Set your region like so:
23+
24+
```bash
25+
csdx config:set:region EU
26+
```
27+
28+
### Authenticate
29+
30+
Next, log in to your Contentstack account via CLI:
31+
32+
```bash
33+
csdx auth:login
34+
```
35+
36+
### Seed your stack
37+
38+
To be able to seed a new Stack, find your `Organization UID` in Contentstack.
39+
40+
> Contentstack Stacks overview > Org Admin > Info
41+
42+
Run the `seed` command to import content to your stack (`-n` can be used for a custom Stack name):
43+
44+
```bash
45+
csdx cm:stacks:seed --repo "contentstack/kickstart-stack-seed" --org "<YOUR_ORG_UID>" -n "Kickstart"
46+
```
47+
48+
Refer to the [Seed command documentation](https://www.contentstack.com/docs/developers/cli/import-content-using-the-seed-command/) to learn more.
49+
50+
## Additional info
51+
52+
This stack seed was exported like this from its origin. Follow the steps.
53+
54+
```bash
55+
csdx cm:stacks:export --stack-api-key <stack_api_key> --data-dir <path/to/export/destination>
56+
```

branches.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"stackHeaders": { "api_key": "<api_key>" },
4+
"urlPath": "/stacks/branches/main",
5+
"uid": "main",
6+
"source": "",
7+
"created_at": "2024-10-11T06:55:53.597Z",
8+
"updated_at": "2024-10-11T06:55:53.597Z",
9+
"deleted_at": false,
10+
"alias": []
11+
}
12+
]

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "kickstart-stack-seed",
3+
"version": "1.0.0",
4+
"description": "This repository provides the Kickstart stack content for Kickstart projects. An easy way to import this stack content is by using the CLI seed command.",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/contentstack/kickstart-stack-seed"
8+
},
9+
"author": "Tim Benniks <[email protected]>",
10+
"homepage": "https://contentstack.com",
11+
"license": "MIT"
12+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"bltf5c0011e24c4d121":{"stackHeaders":{"api_key":"blte766efb491f96715","branch":"main"},"urlPath":"/assets/bltf5c0011e24c4d121","uid":"bltf5c0011e24c4d121","content_type":"image/jpeg","file_size":"23969","tags":[],"filename":"csLogo_640x360.jpg","url":"https://eu-images.contentstack.com/v3/assets/blte766efb491f96715/bltf5c0011e24c4d121/6719068032efaa3b29cc0d4b/csLogo_640x360.jpg","ACL":{"roles":[],"others":{"read":false,"create":false,"update":false,"delete":false,"sub_acl":{"read":false,"create":false,"update":false,"delete":false,"publish":false}}},"is_dir":false,"parent_uid":null,"_version":1,"title":"csLogo_640x360.jpg","publish_details":[{"environment":"blt0824ebf869470ee0","locale":"en-us","time":"2024-10-23T14:21:59.119Z","user":"cs6c7ee2bd00ff9f69","version":1}]},"bltef1ad5f7d7008800":{"stackHeaders":{"api_key":"blte766efb491f96715","branch":"main"},"urlPath":"/assets/bltef1ad5f7d7008800","uid":"bltef1ad5f7d7008800","content_type":"image/jpeg","file_size":"525126","tags":[],"filename":"contentstack-kickstarts.jpg","url":"https://eu-images.contentstack.com/v3/assets/blte766efb491f96715/bltef1ad5f7d7008800/67ee210d5b1f0b1896289471/contentstack-kickstarts.jpg","ACL":{"roles":[],"others":{"read":false,"create":false,"update":false,"delete":false,"sub_acl":{"read":false,"create":false,"update":false,"delete":false,"publish":false}}},"is_dir":false,"parent_uid":null,"_version":1,"title":"contentstack-kickstarts.jpg","publish_details":[{"environment":"blt0824ebf869470ee0","locale":"en-us","time":"2025-04-03T05:49:36.943Z","user":"cs6c7ee2bd00ff9f69","version":1}]},"bltdb507c525e99088d":{"stackHeaders":{"api_key":"blte766efb491f96715","branch":"main"},"urlPath":"/assets/bltdb507c525e99088d","uid":"bltdb507c525e99088d","content_type":"image/png","file_size":"663640","tags":[],"filename":"Opengraph_B.png","url":"https://eu-images.contentstack.com/v3/assets/blte766efb491f96715/bltdb507c525e99088d/67ee2cb1039061030b4a9a33/Opengraph_B.png","ACL":{"roles":[],"others":{"read":false,"create":false,"update":false,"delete":false,"sub_acl":{"read":false,"create":false,"update":false,"delete":false,"publish":false}}},"is_dir":false,"parent_uid":null,"_version":1,"title":"Opengraph_B.png","publish_details":[{"environment":"blt0824ebf869470ee0","locale":"en-us","time":"2025-04-03T06:38:09.764Z","user":"cs6c7ee2bd00ff9f69","version":1}]},"blt08c4196058a26573":{"stackHeaders":{"api_key":"blte766efb491f96715","branch":"main"},"urlPath":"/assets/blt08c4196058a26573","uid":"blt08c4196058a26573","content_type":"image/webp","file_size":"6622","tags":[],"filename":"discord-logo.webp","url":"https://eu-images.contentstack.com/v3/assets/blte766efb491f96715/blt08c4196058a26573/67ee2dc20f04793a66b0c1b0/discord-logo.webp","ACL":{"roles":[],"others":{"read":false,"create":false,"update":false,"delete":false,"sub_acl":{"read":false,"create":false,"update":false,"delete":false,"publish":false}}},"is_dir":false,"parent_uid":null,"_version":1,"title":"discord-logo.webp","publish_details":[{"environment":"blt0824ebf869470ee0","locale":"en-us","time":"2025-04-03T06:42:15.276Z","user":"cs6c7ee2bd00ff9f69","version":1}]}}

stack/assets/assets.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"1":"65538b20-287f-499e-842e-831378d4c629-assets.json"}
Binary file not shown.
Loading
Loading
Loading

stack/assets/metadata.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"65538b20-287f-499e-842e-831378d4c629-assets.json":[{"uid":"bltf5c0011e24c4d121","url":"https://eu-images.contentstack.com/v3/assets/blte766efb491f96715/bltf5c0011e24c4d121/6719068032efaa3b29cc0d4b/csLogo_640x360.jpg","filename":"csLogo_640x360.jpg"},{"uid":"bltef1ad5f7d7008800","url":"https://eu-images.contentstack.com/v3/assets/blte766efb491f96715/bltef1ad5f7d7008800/67ee210d5b1f0b1896289471/contentstack-kickstarts.jpg","filename":"contentstack-kickstarts.jpg"},{"uid":"bltdb507c525e99088d","url":"https://eu-images.contentstack.com/v3/assets/blte766efb491f96715/bltdb507c525e99088d/67ee2cb1039061030b4a9a33/Opengraph_B.png","filename":"Opengraph_B.png"},{"uid":"blt08c4196058a26573","url":"https://eu-images.contentstack.com/v3/assets/blte766efb491f96715/blt08c4196058a26573/67ee2dc20f04793a66b0c1b0/discord-logo.webp","filename":"discord-logo.webp"}]}

stack/content_types/page.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"title":"Page","uid":"page","schema":[{"data_type":"text","display_name":"Title","field_metadata":{"_default":true,"version":3},"mandatory":true,"uid":"title","unique":true,"multiple":false,"non_localizable":false},{"data_type":"text","display_name":"URL","uid":"url","field_metadata":{"_default":true,"version":3},"multiple":false,"unique":false,"mandatory":false,"non_localizable":false},{"data_type":"text","display_name":"Description","uid":"description","field_metadata":{"description":"","default_value":"","multiline":true,"version":3},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"file","display_name":"Image","uid":"image","extensions":[],"field_metadata":{"description":"","rich_text_type":"standard"},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Rich Text","uid":"rich_text","field_metadata":{"allow_rich_text":true,"description":"","multiline":false,"rich_text_type":"custom","options":["html","bold","underline","italic","deleted","lists","link"],"version":3},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"blocks","display_name":"blocks","blocks":[{"title":"Block","uid":"block","reference_to":"block","schema":[{"data_type":"text","display_name":"Title","uid":"title","field_metadata":{"description":"","default_value":"Block title","version":3},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Copy","uid":"copy","field_metadata":{"allow_rich_text":true,"description":"","multiline":false,"rich_text_type":"custom","options":["html","bold","underline","italic","deleted","link","h2","h3","h4","h5","h6"],"version":3},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"file","display_name":"Image","uid":"image","extensions":[],"field_metadata":{"description":"","rich_text_type":"standard"},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Layout","display_type":"dropdown","enum":{"advanced":true,"choices":[{"value":"image_left","key":"Image Left"},{"value":"image_right","key":"Image Right"}]},"multiple":false,"uid":"layout","field_metadata":{"description":"","default_value":"","default_key":"","instruction":"Image left or right in the layout","version":3},"mandatory":false,"non_localizable":false,"unique":false}]}],"multiple":true,"uid":"blocks","field_metadata":{"instruction":"","description":""},"mandatory":false,"non_localizable":false,"unique":false}],"description":"","options":{"is_page":true,"singleton":false,"sub_title":[],"title":"title","url_pattern":"","url_prefix":"/"}}

stack/content_types/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"title":"Page","uid":"page","schema":[{"data_type":"text","display_name":"Title","field_metadata":{"_default":true,"version":3},"mandatory":true,"uid":"title","unique":true,"multiple":false,"non_localizable":false},{"data_type":"text","display_name":"URL","uid":"url","field_metadata":{"_default":true,"version":3},"multiple":false,"unique":false,"mandatory":false,"non_localizable":false},{"data_type":"text","display_name":"Description","uid":"description","field_metadata":{"description":"","default_value":"","multiline":true,"version":3},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"file","display_name":"Image","uid":"image","extensions":[],"field_metadata":{"description":"","rich_text_type":"standard"},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Rich Text","uid":"rich_text","field_metadata":{"allow_rich_text":true,"description":"","multiline":false,"rich_text_type":"custom","options":["html","bold","underline","italic","deleted","lists","link"],"version":3},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"blocks","display_name":"blocks","blocks":[{"title":"Block","uid":"block","reference_to":"block","schema":[{"data_type":"text","display_name":"Title","uid":"title","field_metadata":{"description":"","default_value":"Block title","version":3},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Copy","uid":"copy","field_metadata":{"allow_rich_text":true,"description":"","multiline":false,"rich_text_type":"custom","options":["html","bold","underline","italic","deleted","link","h2","h3","h4","h5","h6"],"version":3},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"file","display_name":"Image","uid":"image","extensions":[],"field_metadata":{"description":"","rich_text_type":"standard"},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Layout","display_type":"dropdown","enum":{"advanced":true,"choices":[{"value":"image_left","key":"Image Left"},{"value":"image_right","key":"Image Right"}]},"multiple":false,"uid":"layout","field_metadata":{"description":"","default_value":"","default_key":"","instruction":"Image left or right in the layout","version":3},"mandatory":false,"non_localizable":false,"unique":false}]}],"multiple":true,"uid":"blocks","field_metadata":{"instruction":"","description":""},"mandatory":false,"non_localizable":false,"unique":false}],"description":"","options":{"is_page":true,"singleton":false,"sub_title":[],"title":"title","url_pattern":"","url_prefix":"/"}}]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"blte55cf3411ecaee0e":{"title":"Contentstack Kickstart","url":"/","description":"This is an entry for a Contentstack Kickstart","image":{"uid":"bltef1ad5f7d7008800","created_at":"2025-04-03T05:47:57.271Z","updated_at":"2025-04-03T05:47:57.271Z","created_by":"cs6c7ee2bd00ff9f69","updated_by":"cs6c7ee2bd00ff9f69","content_type":"image/jpeg","file_size":"525126","tags":[],"filename":"contentstack-kickstarts.jpg","url":"https://eu-images.contentstack.com/v3/assets/blte766efb491f96715/bltef1ad5f7d7008800/67ee210d5b1f0b1896289471/contentstack-kickstarts.jpg","ACL":[],"is_dir":false,"parent_uid":null,"_version":1,"title":"contentstack-kickstarts.jpg","publish_details":[{"environment":"blt0824ebf869470ee0","locale":"en-us","time":"2025-04-03T05:49:36.943Z","user":"cs6c7ee2bd00ff9f69","version":1}]},"rich_text":"<p>Contentstack Kickstarts are the <strong>minimum</strong> amount of code needed to connect to contentstack using the <a href=\"https://www.contentstack.com/docs/developers/sdks/content-delivery-sdk/typescript\" target=\"_blank\">SDK</a>, and with <a href=\"https://www.contentstack.com/docs/content-managers/visual-builder\" target=\"_blank\">visual building</a> enabled.</p>","tags":[],"locale":"en-us","uid":"blte55cf3411ecaee0e","ACL":{},"_version":37,"_in_progress":false,"blocks":[{"block":{"title":"This is a modular block","_metadata":{"uid":"cs6a06881d0fe04f26"},"copy":"<p>Contentstack <a href=\"https://www.contentstack.com/docs/developers/create-content-types/modular-blocks\" target=\"_blank\">Modular Blocks</a> allow you to dynamically create, arrange, and reuse content components within a single field, offering flexibility for building complex page layouts without changes to the content type structure.</p>","image":{"uid":"bltf5c0011e24c4d121","created_at":"2024-10-23T14:21:52.138Z","updated_at":"2024-10-23T14:21:52.138Z","created_by":"cs6c7ee2bd00ff9f69","updated_by":"cs6c7ee2bd00ff9f69","content_type":"image/jpeg","file_size":"23969","tags":[],"filename":"csLogo_640x360.jpg","url":"https://eu-images.contentstack.com/v3/assets/blte766efb491f96715/bltf5c0011e24c4d121/6719068032efaa3b29cc0d4b/csLogo_640x360.jpg","ACL":[],"is_dir":false,"parent_uid":null,"_version":1,"title":"csLogo_640x360.jpg","publish_details":[{"environment":"blt0824ebf869470ee0","locale":"en-us","time":"2024-10-23T14:21:59.119Z","user":"cs6c7ee2bd00ff9f69","version":1}]},"layout":"image_left"}},{"block":{"title":"Check out the Academy","_metadata":{"uid":"cs6b590717347487f3"},"copy":"<p>Contentstack offers courses and explainers on how to use the platform. Check out the course on <a href=\"https://www.contentstack.com/academy/courses/content-modeling\" target=\"_blank\">content modeling</a> and the more <a href=\"https://www.contentstack.com/academy/explore?filter=%5B%7B%22uid%22%3A%22coding%22%2C%22parentUid%22%3A%22content_type%22%7D%5D&page=1\" target=\"_blank\">development specific videos</a>.</p>","image":{"uid":"bltdb507c525e99088d","created_at":"2025-04-03T06:37:37.042Z","updated_at":"2025-04-03T06:37:37.042Z","created_by":"cs6c7ee2bd00ff9f69","updated_by":"cs6c7ee2bd00ff9f69","content_type":"image/png","file_size":"663640","tags":[],"filename":"Opengraph_B.png","url":"https://eu-images.contentstack.com/v3/assets/blte766efb491f96715/bltdb507c525e99088d/67ee2cb1039061030b4a9a33/Opengraph_B.png","ACL":[],"is_dir":false,"parent_uid":null,"_version":1,"title":"Opengraph_B.png","publish_details":[{"environment":"blt0824ebf869470ee0","locale":"en-us","time":"2025-04-03T06:38:09.764Z","user":"cs6c7ee2bd00ff9f69","version":1}]},"layout":"image_right"}},{"block":{"title":"Join the community","_metadata":{"uid":"cs47252da3d2a92d5c"},"copy":"<p>The <a href=\"https://community.contentstack.com\" target=\"_blank\">community</a> connects you with a vibrant network of like-minded developers to show off your work or to ask any quections.</p>","image":{"uid":"blt08c4196058a26573","created_at":"2025-04-03T06:42:10.383Z","updated_at":"2025-04-03T06:42:10.383Z","created_by":"cs6c7ee2bd00ff9f69","updated_by":"cs6c7ee2bd00ff9f69","content_type":"image/webp","file_size":"6622","tags":[],"filename":"discord-logo.webp","url":"https://eu-images.contentstack.com/v3/assets/blte766efb491f96715/blt08c4196058a26573/67ee2dc20f04793a66b0c1b0/discord-logo.webp","ACL":[],"is_dir":false,"parent_uid":null,"_version":1,"title":"discord-logo.webp","publish_details":[{"environment":"blt0824ebf869470ee0","locale":"en-us","time":"2025-04-03T06:42:15.276Z","user":"cs6c7ee2bd00ff9f69","version":1}]},"layout":"image_left"}}],"publish_details":[{"environment":"blt0824ebf869470ee0","locale":"en-us","time":"2025-04-03T06:44:42.778Z","user":"cs6c7ee2bd00ff9f69","version":37}]}}

stack/entries/page/en-us/index.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"1":"46d017c2-fedb-4964-9cef-a1ec1d6e0ef1-entries.json"}

stack/environments/environments.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"blt0824ebf869470ee0":{"stackHeaders":{"api_key":"blte766efb491f96715","branch":"main"},"urlPath":"/environments/preview","urls":[{"url":"http://localhost:3000","locale":"en-us"}],"name":"preview","uid":"blt0824ebf869470ee0","created_by":"cs6c7ee2bd00ff9f69","updated_by":"cs6c7ee2bd00ff9f69","created_at":"2024-09-17T09:30:36.692Z","updated_at":"2025-03-25T13:26:18.724Z","_version":29}}

stack/export-info.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"contentVersion":2,"logsPath":"/Users/tim.benniks/Websites/contentstack-implementation-guides/packages/contentstack-implementation-guides-seed/stack/logs/export"}

stack/global_fields/globalfields.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"title":"Block","uid":"block","schema":[{"data_type":"text","display_name":"Title","uid":"title","field_metadata":{"description":"","default_value":"Block title","version":3},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Copy","uid":"copy","field_metadata":{"allow_rich_text":true,"description":"","multiline":false,"rich_text_type":"custom","options":["html","bold","underline","italic","deleted","link","h2","h3","h4","h5","h6"],"version":3},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"file","display_name":"Image","uid":"image","extensions":[],"field_metadata":{"description":"","rich_text_type":"standard"},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Layout","display_type":"dropdown","enum":{"advanced":true,"choices":[{"value":"image_left","key":"Image Left"},{"value":"image_right","key":"Image Right"}]},"multiple":false,"uid":"layout","field_metadata":{"description":"","default_value":"","default_key":"","instruction":"Image left or right in the layout","version":3},"mandatory":false,"non_localizable":false,"unique":false}],"description":"A block!"}]

stack/locales/locales.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

stack/locales/master-locale.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"blta9f9b7aadb36f9bc":{"code":"en-us","fallback_locale":null,"uid":"blta9f9b7aadb36f9bc","name":"English - United States"}}

stack/logs/error.log

Whitespace-only changes.

stack/logs/export/error.log

Whitespace-only changes.

0 commit comments

Comments
 (0)