Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
0xaptosj committed Apr 30, 2024
1 parent 25215b9 commit d318542
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ We introduce the following concepts:

This dApp will be used as an educational demo hosted on [Aptos Learn](https://learn.aptoslabs.com/).

You can find more instructions about the Move contract in move/README.md.

---

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
Expand All @@ -21,10 +23,7 @@ This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next
First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
cd frontend
pnpm dev
```

Expand Down
18 changes: 16 additions & 2 deletions move/README.MD
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
# Aptogotchi

## Publish Modules
## Publish and Upgrade Module

```shell
# publish module
./sh_scripts/move_publish.sh
```

After publishing, go to frontend directory to re-generate the ABI.

```shell
cd ../frontend
pnpm generate
```

Upgrade published module, this only works when you don't have breaking change.
If you have breaking change, you need to publish to a new address.
```shell
./sh_scripts/move_upgrade.sh
```

## Run unit tests

```shell
./sh_scripts/move_test.sh
```

## Run move scripts
## Run Move scripts

Create gotchi.
```shell
Expand Down

0 comments on commit d318542

Please sign in to comment.