You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2025. It is now read-only.
2. Create a new space and retrieve the space preview token under your space in "Settings -> Access Tokens" menu item
43
+
1. Signup at https://app.storyblok.com/;
44
+
2. Create a new space and retrieve the space preview token under your space in "Settings -> Access Tokens" menu item;
47
45
3. Execute the following commands (use your preview access token when prompted when running the `npx` command):
48
46
49
-
```sh-session
47
+
~~~bash
50
48
npx @storyblok/create-demo@latest
51
49
52
50
cd my-app
53
51
npm i && npm run dev
54
-
```
52
+
~~~
55
53
56
54
4. Open the Storyblok App following the URL suggested by the output provided by the commands. It depends on the HTTPS configuration and the port used by the frameworks.
57
55
58
56
# CLI Options
59
57
60
58
The CLI has different options that can be filled, you can see all the options by running `npx @storyblok/create-demo --help`:
61
59
62
-
```
60
+
~~~
63
61
OPTIONS
64
62
-d, --folder=folder Folder path for the demo (e.g. my-demo)
65
63
-f, --framework=framework Framework to use (e.g. remix)
@@ -68,23 +66,23 @@ OPTIONS
68
66
-p, --packagemanager=packagemanager Package manager to use (yarn or npm)
69
67
-r, --region=region Space region (e.g. EU, US or CN)
70
68
-v, --version show CLI version
71
-
```
69
+
~~~
72
70
73
-
By using this you can skip the "questions" of the CLI and fill it with your options directly like so:
71
+
By using this, you can skip the "questions" of the CLI and fill it with your options directly like so:
74
72
75
-
```
73
+
~~~bash
76
74
npx @storyblok/create-demo@latest --key YOUR_STORYBLOK_PREVIEW_TOKEN --region US
77
-
```
75
+
~~~
78
76
79
77
80
78
### Local Development
81
79
82
-
If you want to contribute you can run the CLI locally and test it with this command:
80
+
If you want to contribute, you can run the CLI locally and test it with this command:
0 commit comments