mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 16:25:21 +00:00
Updated examples Readme with building
This commit is contained in:
@@ -6,10 +6,11 @@ Each example is linked to webserver.js, which *requires* express.js to run.
|
|||||||
Express.js has been inserted as "example package" dipendency.
|
Express.js has been inserted as "example package" dipendency.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/alexandercerutti/passkit-generator.git;
|
$ git clone https://github.com/alexandercerutti/passkit-generator.git;
|
||||||
cd passkit-generator && npm install;
|
$ cd passkit-generator && npm install;
|
||||||
cd examples && npm install;
|
$ cd examples && npm install;
|
||||||
node <the-example-you-want-to-execute>.js
|
$ npm run build;
|
||||||
|
$ node <the-example-you-want-to-execute>.js
|
||||||
```
|
```
|
||||||
|
|
||||||
Certificates paths in examples are linked to a folder `certificates` in the root of this project which is not provided.
|
Certificates paths in examples are linked to a folder `certificates` in the root of this project which is not provided.
|
||||||
|
|||||||
Reference in New Issue
Block a user