Skip to content

Commit

Permalink
chore: rename autopeer + compose scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dragosp1011 committed Oct 23, 2023
1 parent e2671e0 commit 88c88c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions localenv/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ The `pnpm localenv:compose up` command starts both the primary instance and the
If you want to start the local env and peer it automatically to rafiki.money, you can run the following commands:

```
pnpm localenv:autopeer:start
pnpm localenv:compose:autopeer
// OR to start with Postgres db
pnpm localenv:autopeer:start:psql
pnpm localenv:compose:psql:autopeer
```

Your local cloud nine rafiki instance will be peered automatically in this case with https://rafiki.money instance.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"localenv:compose": "BEFORE_MERGED='-f ./localenv/tigerbeetle/docker-compose.yml' pnpm localenv:compose:psql",
"localenv:seed:auth": "pnpm -C ./packages/auth knex seed:run --env=development && pnpm -C ./packages/auth knex seed:run --env=peerdevelopment",
"sanity": "pnpm -r build && pnpm -r test",
"localenv:autopeer:start": "run-p tunnel:start wait-tunnel:localenv:compose",
"localenv:autopeer:start:psql": "run-p tunnel:start wait-tunnel:localenv:compose:psql",
"localenv:compose:autopeer": "run-p tunnel:start wait-tunnel:localenv:compose",
"localenv:compose:psql:autopeer": "run-p tunnel:start wait-tunnel:localenv:compose:psql",
"wait-tunnel:localenv:compose": "pnpm wait-on:env && pnpm localenv:compose up -d",
"wait-tunnel:localenv:compose:psql": "pnpm wait-on:env && pnpm localenv:compose:psql up -d",
"wait-on:env": "npx wait-on -d 1000 ./localenv/cloud-nine-wallet/.env",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ The `pnpm localenv:compose up` command starts both the primary instance and the
If you want to start the local env and peer it automatically to rafiki.money, you can run the following commands:

```
pnpm localenv:autopeer:start
pnpm localenv:compose:autopeer
// OR to start with Postgres db
pnpm localenv:autopeer:start:psql
pnpm localenv:compose:psql:autopeer
```

Your local cloud nine rafiki instance will be peered automatically in this case with https://rafiki.money instance.
Expand Down

0 comments on commit 88c88c1

Please sign in to comment.