Skip to content

Commit

Permalink
Merge pull request a16z-infra#200 from a16z-infra/martin
Browse files Browse the repository at this point in the history
Remove DebugClearAll from README
  • Loading branch information
ianmacartney authored Dec 11, 2023
2 parents 2dde9ff + fa4fddc commit c6e5458
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,15 @@ Before you can run the app, you will need to make sure the Convex functions are
1. Run `npx convex deploy` to deploy the convex functions to production
2. Run `npx convex run init --prod`

If you have existing data you want to clear, you can run `npx convex run testing:debugClearAll --prod`
If you have existing data you want to clear, you can run `npx convex run testing:wipeAllTables --prod`

## Customize your own simulation

NOTE: every time you change character data, you should re-run
`npx convex run testing:debugClearAll` and then
`npx convex run testing:wipeAllTables` and then
`npm run dev` to re-upload everything to Convex.
This is because character data is sent to Convex on the initial load.
However, beware that `npx convex run testing:debugClearAll` WILL wipe all of your data.
However, beware that `npx convex run testing:wipeAllTables` WILL wipe all of your data.

1. Create your own characters and stories: All characters and stories, as well as their spritesheet references are stored in [characters.ts](./data/characters.ts). You can start by changing character descriptions.

Expand Down

0 comments on commit c6e5458

Please sign in to comment.