Skip to content

Commit 1cbd965

Browse files
committed
production
1 parent 2b4a8b1 commit 1cbd965

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ cp .env.example .env
2929
cp chains.json.example chains.json
3030
# add chains / mnemonics you want to use. On start, you can view addresses via http://ip:port/<chain_id>
3131

32-
npm install
33-
32+
# local
3433
npm run start
3534

35+
# prod
36+
npm i pm2 --global
37+
pm2 start src/index.ts --name faucet --watch --interpreter ./node_modules/.bin/ts-node
38+
# pm2 logs
39+
# pm2 stop faucet
3640
```

0 commit comments

Comments
 (0)