Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mjadach-iv committed May 28, 2024
1 parent 63ca861 commit f38d60f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,40 @@ Token list is taken from `server/tokens.json`

## Run locally

Backend:


```bash
yarn
wrangler dev
```

or if dependencies are installed:

```bash
yarn start:be
```

Frontend:

```bash
cd frontend
yarn
yarn start
```

or if dependencies are installed:

```bash
yarn start:fe
```

## Front-end .env:

```
REACT_APP_BACKEND_URL=tokentracker.hoprnet.workers.dev //'127.0.0.1:8787' if local server is used
REACT_APP_uHTTP_DP_ENDPOINT= //leave empty to use default
REACT_APP_uHTTP_TOKEN=
REACT_APP_uHTTP_FORCE_ZERO_HOP=true
```
2 changes: 1 addition & 1 deletion frontend/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
REACT_APP_BACKEND_URL=tokentracker.hoprnet.workers.dev //'http://127.0.0.1:8787' if used local server
REACT_APP_BACKEND_URL=tokentracker.hoprnet.workers.dev //'127.0.0.1:8787' if local server is used
REACT_APP_uHTTP_DP_ENDPOINT= //leave empty to use default
REACT_APP_uHTTP_TOKEN=
REACT_APP_uHTTP_FORCE_ZERO_HOP=true

0 comments on commit f38d60f

Please sign in to comment.