Skip to content

Commit

Permalink
Adds 'npm run build' before 'npm start' in README.md (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees authored Jul 5, 2022
1 parent 304b114 commit 00e14d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Modify the configuration options in [`config.js`](https://github.com/webtorrent/

Copy [`secret/index-sample.js`](https://github.com/webtorrent/instant.io/blob/master/secret/index-sample.js) to `secret/index.js` and update the options in there to a valid TURN server if you want a NAT traversal service (to help peers connect when behind a firewall).

To start the server, run `npm start`. That should be it!
To start the server, run `npm run build && npm start`. That should be it!

## Tips

Expand All @@ -53,4 +53,3 @@ of the URL. For example: `https://instant.io#INFO_HASH` or `https://instant.io/#
## License

MIT. Copyright (c) [WebTorrent, LLC](https://webtorrent.io).

0 comments on commit 00e14d7

Please sign in to comment.