From af0e55a676415537a6ffd193b8cc034f30a57b8d Mon Sep 17 00:00:00 2001
From: lowsky
Date: Wed, 16 Jan 2019 00:08:29 +0100
Subject: [PATCH] fix links and improve default start page.
---
src/__tests_/__snapshots__/Storyshots.test.js.snap | 11 +++++------
src/index/indexPage.js | 9 +++++----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/__tests_/__snapshots__/Storyshots.test.js.snap b/src/__tests_/__snapshots__/Storyshots.test.js.snap
index eedc54e14..1a9e7a6e3 100644
--- a/src/__tests_/__snapshots__/Storyshots.test.js.snap
+++ b/src/__tests_/__snapshots__/Storyshots.test.js.snap
@@ -323,7 +323,7 @@ exports[`Storyshots Pages main 1`] = `
- Run local server
+ How to start the local server
@@ -364,7 +364,7 @@ exports[`Storyshots Pages main 1`] = `
Relay based
lowsky/spotify-graphql-server
@@ -391,12 +391,11 @@ exports[`Storyshots Pages main 1`] = `
you also need to configure GitHub authentication token in the
- .env
+ server/.env
- file, then simply run the local graphql server via
-
+ file, then simply run the local graphql server via and web app via
- npm start
+ npm run dev
diff --git a/src/index/indexPage.js b/src/index/indexPage.js
index 81e043730..b3b941c56 100644
--- a/src/index/indexPage.js
+++ b/src/index/indexPage.js
@@ -14,7 +14,7 @@ const indexPageContent = () => (
GraphQL + Relay - fetches all information from a locally installed relay server. Note:
- This only works locally! See Run local server
+ This only works locally! See How to start the local server
@@ -34,7 +34,7 @@ const indexPageContent = () => (
Relay based
-
+
lowsky/spotify-graphql-server
(needs a running local server. See setup
@@ -44,8 +44,9 @@ const indexPageContent = () => (
How to start the local server
After installing the dependencies via npm install
you also need to configure GitHub
- authentication token in the .env
file, then simply run the local graphql server via{' '}
- npm start
+ authentication token in the server/.env
file, then simply run the local graphql server via
+ and web app via
+ npm run dev