mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 21:25:26 +00:00
Improved examples readme
This commit is contained in:
@@ -5,6 +5,7 @@ Express.js **was not** inserted as 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;
|
npm install;
|
||||||
npm install -g express;
|
npm install -g express;
|
||||||
cd examples;
|
cd examples;
|
||||||
@@ -14,7 +15,8 @@ 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.
|
||||||
To make them work, you'll have to edit both certificates and model path.
|
To make them work, you'll have to edit both certificates and model path.
|
||||||
|
|
||||||
Generates pass will be generated at address [http://localhost:3000/gen/examplePass](http://localhost:3000/gen/examplePass);
|
Visit [http://localhost:8080/gen/examplePass](http://localhost:8080/gen/examplePass) to get the pass. Replace "examplePass" with the pass name in models folder.
|
||||||
|
Please note that `field.js` example will force you to download `exampleBooking.pass`, no matter what.
|
||||||
___
|
___
|
||||||
|
|
||||||
Every contribution is really appreciated. ❤️ Thank you!
|
Every contribution is really appreciated. ❤️ Thank you!
|
||||||
|
|||||||
Reference in New Issue
Block a user