Skip to content

Commit 59710a5

Browse files
authored
add bit about submodules
and make links into links + fix image 404
1 parent 9248716 commit 59710a5

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ clone the [mono-repo](https://github.com/korfuri/awesome-monorepo) [`modern-stac
2020

2121
```
2222
git clone --recursive git@github.com:aretecode/modern-stack-web-portfolio.git
23+
cd modern-stack-web-portfolio
24+
git submodule foreach git checkout master
2325
```
2426

2527
![](https://noccumpr-cdn.sirv.com/documentation/Screen%20Shot%202019-04-19%20at%2011.24.43%20PM.png)
2628

27-
> if you are facing with clone, you may not have SSH key configured with your GitHub account, [follow these steps to configure yours in a few seconds](https://www.testingexcellence.com/install-git-mac-generate-ssh-keys/). Once installed, do the cloning step again.
29+
> if you are facing with clone, you may not have SSH key configured with your GitHub account, [follow these steps to configure yours in a few seconds](https://www.testingexcellence.com/install-git-mac-generate-ssh-keys/). Once installed, do the cloning step again.
30+
31+
> the submodule checkout master command is because each submodule is pointed to a specific commit, so running this command will point them to master, after which they can be used the same way any other repo is used (_pulling, merging, committing..._)
2832
2933
## Yarn Install
3034

@@ -51,7 +55,7 @@ cd packages/client
5155
yarn dev
5256
```
5357

54-
Then, open `http://localhost/3000`
58+
Then, open [http://localhost:3000](http://localhost:3000)
5559

5660
#### 2. graphql:
5761

@@ -60,7 +64,7 @@ cd packages/graphql
6064
yarn dev
6165
```
6266

63-
Then, open `http://localhost/4000/graphql`
67+
Then, open [http://localhost:4000/graphql](http://localhost:4000/graphql)
6468

6569
## Setup the data
6670

@@ -70,7 +74,7 @@ After you running the build, you won't see any data.
7074

7175
To see the content, we need to set it ourselves:
7276

73-
1. open `http://localhost/4000`
77+
1. open [http://localhost:4000/graphql](http://localhost:4000/graphql)
7478

7579
![](https://noccumpr-cdn.sirv.com/documentation/Screen%20Shot%202019-04-20%20at%2012.05.57%20AM.png?h=300)
7680

@@ -84,11 +88,15 @@ mutation SetResume($basics: BasicsInputType, $work: [WorkInputType]) {
8488
}
8589
```
8690

87-
![](https://noccumpr-cdn.sirv.com/documentation/Screen%20Shot%202019-04-20%20at%2012.06.35%20AM.png?h=300)
91+
![](https://noccumpr-cdn.sirv.com/documentation/Screen%20Shot%202019-04-20%20at%2012.06.35%20AM.png?h=300)
92+
93+
3. open the `Query Variables`
94+
95+
![](https://noccumpr-cdn.sirv.com/documentation/Screen%20Shot%202019-04-20%20at%2012.06.58%20AM.png?h=300)
8896

89-
3. open the `Query Variables` ![](https://noccumpr-cdn.sirv.com/documentation/Screen%20Shot%202019-04-20%20at%2012.06.58%20AM.png&h=300)
97+
4. add your JSON to the `Query Variables`. [Example data can be found in this gist](https://gist.githubusercontent.com/aretecode/7da7359d3cb0e085e81822c1822d3d08/raw/331a29f90f7eb6315ae9c51c0e9df36bd6871fbd/example.json)
9098

91-
4. add your JSON to the `Query Variables`. [Example data can be found in this gist](https://gist.github.com/aretecode/7da7359d3cb0e085e81822c1822d3d08) ![https://noccumpr-cdn.sirv.com/documentation/Screen%20Shot%202019-04-20%20at%2012.07.41%20AM.png]
99+
![](https://noccumpr-cdn.sirv.com/documentation/Screen%20Shot%202019-04-20%20at%2012.07.41%20AM.png?h=300)
92100

93101
5. click the play/`(>)` button to run it
94102

0 commit comments

Comments
 (0)