Skip to content

Commit

Permalink
updates readme
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h-i committed Feb 7, 2025
1 parent 32c3faf commit c3f9823
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ Please read the [TODO](TODO.md) file for upcoming features.
You must have the [tari-dan](https://github.com/tari-project/tari-dan) repo cloned at the same folder level as this repo.

To build the library:
First you must install [proto](https://moonrepo.dev/proto) to manage node and pnpm versions
```shell
npm install
npm run build
proto use
pnpm install
moon tarijs:build
```

The bundled files for deployment or publication will be located under the `dist` folder.
Expand All @@ -29,18 +31,17 @@ To run the example site you will need to:
* Have access to a Tari Wallet Daemon and to the Tari MetaMask Snap.
* Copy the `example/.env.example` file to `example/.env` and edit the correct environment variable values.

To run in development mode:
To run in development mode, in the packages/tarijs folder:
```shell
cd example
npm install
npm run dev
moon tarijs:build
pnpm run dev
```

For building and distribution
For building and distribution, in the packages/tarijs folder
```shell
cd example
npm install
npm run build
moon tarijs:build
```
The distribution files will be under the `example/dist` folder.

0 comments on commit c3f9823

Please sign in to comment.