mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2025-09-08 15:08:42 +00:00
Document serving requirements
This commit is contained in:
@@ -84,6 +84,10 @@ Additional documentation is available in the `src/` directory; see [src/README.m
|
|||||||
1. Edit `src/index-master.html` or `src/nostr-master.html` if you need custom content.
|
1. Edit `src/index-master.html` or `src/nostr-master.html` if you need custom content.
|
||||||
2. Run `./src/create_flyer.sh` and follow the prompts, or use `./src/create_flyer.sh --from-pdf path/to/form.pdf`.
|
2. Run `./src/create_flyer.sh` and follow the prompts, or use `./src/create_flyer.sh --from-pdf path/to/form.pdf`.
|
||||||
3. Host the generated `host/<subdomain>` directory.
|
3. Host the generated `host/<subdomain>` directory.
|
||||||
|
The `index.html` file fetches `config.json`, so the flyer must be served via a
|
||||||
|
local or remote web server rather than opened directly from disk. For a quick
|
||||||
|
test you can run `python3 -m http.server` inside the folder and then visit the
|
||||||
|
provided address.
|
||||||
|
|
||||||
## Batch Import
|
## Batch Import
|
||||||
Place configuration files in an `imports/` directory at the project root. Run
|
Place configuration files in an `imports/` directory at the project root. Run
|
||||||
@@ -111,4 +115,9 @@ include:
|
|||||||
the files over Tor, allowing others to access them using the provided onion
|
the files over Tor, allowing others to access them using the provided onion
|
||||||
address.
|
address.
|
||||||
|
|
||||||
|
`index.html` fetches `config.json` dynamically, so the flyer should be viewed
|
||||||
|
through a local or remote web server. For quick testing, run
|
||||||
|
`python3 -m http.server` in the folder and open the provided address instead of
|
||||||
|
loading the file directly.
|
||||||
|
|
||||||
This project is licensed under the [MIT License](./LICENSE).
|
This project is licensed under the [MIT License](./LICENSE).
|
||||||
|
Reference in New Issue
Block a user