Skip to content

Commit

Permalink
Merge pull request #13 from peterkogo/fix-example-docs
Browse files Browse the repository at this point in the history
Fixed setup for examples in readme
  • Loading branch information
Horusiath authored Dec 7, 2024
2 parents a350be3 + 389ccdc commit eed7690
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions examples/code-mirror/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
In order to generate static website content, first you need build it. This can be done via npm.

```bash
npm i --global rollup

cd examples/code-mirror/frontend
npm install
npm run build
```

These commands will install and run [rollup.js](https://rollupjs.org/), which is used for bundling the JavaScript code and dependecies for Code Mirror.
These commands will install all dependencies and run [rollup.js](https://rollupjs.org/), which is used for bundling the JavaScript code and dependecies for Code Mirror.

Once the steps above are done, a `./frontent/dist` directory should appear. If so, all you need to do is to run following command from the *main git repository directory*:

Expand Down
5 changes: 2 additions & 3 deletions examples/webrtc-signaling-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
In order to generate static website content, first you need build it. This can be done via npm.

```bash
npm i --global rollup

cd examples/webrtc-signaling-server/frontend
npm install
npm run build
```

These commands will install and run [rollup.js](https://rollupjs.org/), which is used for bundling the JavaScript code and dependecies for Code Mirror.
These commands will install all dependencies and run [rollup.js](https://rollupjs.org/), which is used for bundling the JavaScript code and dependecies for Code Mirror.

Once the steps above are done, a `./frontent/dist` directory should appear. If so, all you need to do is to run following command from the *main git repository directory*:

Expand Down

0 comments on commit eed7690

Please sign in to comment.