mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2025-09-07 14:38:42 +00:00
Accept config path option
This commit is contained in:
@@ -63,16 +63,19 @@ Run the helper script from the repository root:
|
||||
# interactive prompts
|
||||
./src/create_flyer.sh
|
||||
|
||||
# use an alternate config file
|
||||
./src/create_flyer.sh -c path/to/custom.json
|
||||
|
||||
# use answers from an existing PDF form
|
||||
./src/create_flyer.sh --from-pdf path/to/form.pdf
|
||||
```
|
||||
|
||||
When run interactively you'll be prompted for details such as the flyer title
|
||||
and headline. The script now also asks for a **URL** and a **Tear-off link**.
|
||||
These values are written into `src/config.json` and determine the QR code
|
||||
targets.
|
||||
These values are written into the configuration file (`src/config.json` by
|
||||
default) and determine the QR code targets.
|
||||
|
||||
The script updates `src/config.json`, regenerates QR codes, obfuscates `index-master.html` and `nostr-master.html`, and copies the resulting files plus PDFs and QR images into `host/<subdomain>`. The contents in that directory can then be hosted.
|
||||
The script updates the chosen config file, regenerates QR codes, obfuscates `index-master.html` and `nostr-master.html`, and copies the resulting files plus PDFs and QR images into `host/<subdomain>`. The contents in that directory can then be hosted.
|
||||
|
||||
Additional documentation is available in the `src/` directory; see [src/README.md](src/README.md) for more details on the obfuscation scripts and additional usage notes.
|
||||
|
||||
|
Reference in New Issue
Block a user