From 6fe44b725bc90e7345594b56e52e024d097d607a Mon Sep 17 00:00:00 2001 From: Robert Linde Date: Thu, 9 Nov 2017 15:54:04 +0100 Subject: [PATCH] Add instructions to seed a space to readme (#61) --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 128c156..0cb5327 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,15 @@ Contentful is a content management platform for web applications, mobile apps an Without any changes, this app is connected to a Contentful space that is not publicly accessible. The full end-to-end Contentful experience requires you to clone this space to your own Contentful account, and enables you to see how content editing in the Contentful web app and see those changes propagate to this running application. Signing up and getting started with our free plan is... free! -You can clone the space for this example app to your own Contentful account by following the instructions [here](https://github.com/contentful/content-models/tree/master/the-example-app/README.md). Once you’ve created a space, you can change the credentials in the variables.env. If you don’t feel like changing code immediately, you can also inject credentials via url parameters like so: +You can clone the space for this example app to your own Contentful account by using our CLI tool. + +``` +contentful space seed -s '' -t the-example-app +``` + +If you do not have the Contentful CLI installed you can find instructions on installation and usage [here](https://github.com/contentful/contentful-cli). For more information on the content model check out [this repo](https://github.com/contentful/content-models/tree/master/the-example-app/README.md). + +Once you’ve created a space, you can change the credentials in the variables.env. If you don’t feel like changing code immediately, you can also inject credentials via url parameters like so: ``` http://localhost:3000?space_id=&delivery_token=&preview_token=