Skip to content

Commit 3d7526a

Browse files
Issue 92 readme improvements (#93)
* adding testing section to readme * updating barge instructions * removing subgraph from commit
1 parent f42abe3 commit 3d7526a

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- [🧶 Example Queries](#-example-queries)
1212
- [🦑 Development](#-development)
1313
- [🦑 Development on barge](#-development-on-barge)
14+
- [🧪 Testing](#-testing)
1415
- [✨ Code Style](#-code-style)
1516
- [🛳 Releases](#️-releases)
1617
- [⬆️ Deployment](#️-deployment)
@@ -106,11 +107,15 @@ You now have a local graph-node running and can start deploying your changes to
106107

107108
## 🦑 Development on Barge
108109

109-
Run barge in another terminal
110+
Clone (barge)[https://github.com/oceanprotocol/barge] and run it in another terminal:
110111
```bash
112+
git clone https://github.com/oceanprotocol/barge.git
113+
cd barge
111114
./start_ocean.sh --with-thegraph
112115
```
113116

117+
If you have cloned Barge previously, make sure you are using the latest version by running `git pull`.
118+
114119
Clone the repo and install dependencies:
115120

116121
```bash
@@ -133,6 +138,16 @@ npm run deploy:local-barge
133138

134139
You now have a local graph-node running on http://localhost:9000
135140

141+
## 🧪 Testing
142+
143+
- Please note: the `npm run test` command is currently not working due to (this issue)[https://github.com/graphprotocol/graph-ts/issues/113].
144+
145+
To run the integration tests locally, first start up barge by following the instructions above, then run the following terminal commands from the ocean-subgraph folder:
146+
147+
```Bash
148+
export ADDRESS_FILE="${HOME}/.ocean/ocean-contracts/artifacts/address.json"
149+
npm run test-integration
150+
```
136151

137152
## ✨ Code Style
138153

0 commit comments

Comments
 (0)