Skip to content

Commit 8ad87d2

Browse files
committed
docs(readme): update CLI commands for katana and torii
- Update katana command flags (--dev.no-fee, --http.cors_origins) - Update torii command flags (--world, --http.cors_origins) - Fix sozo migrate command syntax
1 parent 1a3eeef commit 8ad87d2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ npx @dojoengine/create-dojo start -t example-vite-react-sdk
3939

4040
```bash
4141
cd dojo-starter
42-
katana --disable-fee --allowed-origins "*"
42+
katana --dev --dev.no-fee --http.cors_origins "*"
4343
```
4444

4545
2. **Terminal 2: Build and migrate the Dojo starter**
4646

4747
```bash
4848
cd dojo-starter
49-
sozo build && sozo migrate apply
49+
sozo build && sozo migrate
5050
5151
# Start Torii indexer - world address can be found in the print out of migrate
52-
torii --world <WORLD_ADDRESS> --allowed-origins "*"
52+
torii --world <WORLD_ADDRESS> --http.cors_origins "*"
5353
```
5454

5555
3. **Terminal 3: Launch the frontend application**
@@ -209,7 +209,7 @@ To run the examples, you'll need to set up three terminal windows:
209209
210210
2. Start Katana (local Starknet devnet) with fee disabled and all origins allowed:
211211
```bash
212-
katana --disable-fee --allowed-origins "*"
212+
katana --dev.no-fee --http.cors_origins "*"
213213
```
214214
215215
**Terminal 2**: Build, migrate, and run Torii
@@ -230,7 +230,7 @@ To run the examples, you'll need to set up three terminal windows:
230230
3. Run Torii (indexer) with the world address and allowed origins:
231231
232232
```bash
233-
torii --world <WORLD_ADDRESS> --allowed-origins "*"
233+
torii --world <WORLD_ADDRESS> --http.cors_origins '*'
234234
```
235235
236236
Note: The world address may change. Ensure you're using the correct address from your migration output.

0 commit comments

Comments
 (0)