Skip to content

Commit 70b0dfa

Browse files
committed
chore: update readme.md
1 parent 5082e31 commit 70b0dfa

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

readme.md

+16-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ const db =
8888
{
8989
// your config
9090
client: {
91-
rpcUrl: dojoConfig.rpcUrl,
9291
toriiUrl: dojoConfig.toriiUrl,
9392
relayUrl: dojoConfig.relayUrl,
9493
worldAddress: dojoConfig.manifest.world.address,
@@ -172,6 +171,7 @@ Dojo.js is a work in progress. We welcome contributions! Here's how you can get
172171
```bash
173172
git clone https://github.com/dojoengine/dojo.js.git
174173
cd dojo.js
174+
git submodule update --init --recursive
175175
```
176176

177177
2. Install dependencies:
@@ -193,13 +193,27 @@ Before running examples, you need to build the packages:
193193
- Watch for changes (development mode):
194194

195195
```bash
196-
pnpm run build --watch
196+
pnpm run dev
197197
```
198+
- Try out a specific example :
199+
200+
```bash
201+
pnpm run dev --filter example-vite-react-sdk
202+
```
203+
198204

199205
### Running The Examples
200206

201207
To run the examples, you'll need to set up three terminal windows:
202208
209+
**With docker**:
210+
1. Navigate to the Dojo starter directory:
211+
212+
```bash
213+
cd worlds/dojo-starter
214+
docker compose up
215+
```
216+
203217
**Terminal 1**: Set up the Dojo starter environment
204218
205219
1. Navigate to the Dojo starter directory:

0 commit comments

Comments
 (0)