From 81d5233d936dd81fd36fd5c9563ad84677217d7c Mon Sep 17 00:00:00 2001 From: shm <41867+shm@users.noreply.github.com> Date: Thu, 16 Nov 2017 13:37:19 +0100 Subject: [PATCH] Add instructions to run app as Docker container (#68) --- README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 832727f..b80f704 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ To start the express server, run the following npm run start:dev ``` -Open [http://localhost:3000](http://localhost:3000) and take a look around. +Open [http://localhost:3000](http://localhost:3000) and take a look around. ## Steps for read and write access (recommended) @@ -71,7 +71,7 @@ Step 4: Seed the new space with the content model. Replace the `SPACE_ID` with t ``` contentful space seed -s '' -t the-example-app ``` -Step 5: Head to the Contentful web app's API section and grab `SPACE_ID`, `DELIVERY_ACCESS_TOKEN`, `PREVIEW_ACCESS_TOKEN`. +Step 5: Head to the Contentful web app's API section and grab `SPACE_ID`, `DELIVERY_ACCESS_TOKEN`, `PREVIEW_ACCESS_TOKEN`. Step 6: Open `variables.env` and inject your credentials so it looks like this @@ -96,13 +96,6 @@ You can also deploy this app to Heroku: [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) -Open [http://localhost:3000?enable_editorial_features](http://localhost:3000?enable_editorial_features) and take a look around. This URL flag adds an “Edit” button in the app on every editable piece of content which will take you back to Contentful web app where you can make changes. It also adds “Draft” and “Pending Changes” status indicators to all content if relevant. - -## Deploy to Heroku -You can also deploy this app to Heroku: - -[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) - ## Use Docker You can also run this app as a Docker container: