a few docs/instructions on the new report php file
This commit is contained in:
parent
24446bc3d1
commit
fb6ccee193
@ -253,6 +253,10 @@ The report can be converted, for instance, into a HTML table as below:
|
||||
|
||||
![dsnet report table](https://raw.githubusercontent.com/naggie/dsnet/master/etc/report.png)
|
||||
|
||||
See
|
||||
[etc/README.md](https://github.com/naggie/dsnet/blob/master/etc/dsnetreport.html)
|
||||
for hugo and PHP code for rendering a similar table.
|
||||
|
||||
# FAQ
|
||||
|
||||
> Does dsnet support IPv6?
|
||||
|
2
etc/README.md
Normal file
2
etc/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
* `dsnetreport.php`: A php file to render a report.
|
||||
* `dsnetreport.html`: A hugo shortcode for rendering a report. See https://github.com/naggie/dsnet/issues/4#issuecomment-632928158 for background.
|
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
// Thanks to github.com/Write. See https://github.com/naggie/dsnet/issues/4#issuecomment-632928158 for background.
|
||||
|
||||
/* Look for dsnetreport.json in current directory */
|
||||
/* Change "ReportFile": "/var/lib/dsnetreport.json" accordingly */
|
||||
/* Also add a crontab to run "dsnet report" to refresh the dsnetreport file */
|
||||
|
Loading…
Reference in New Issue
Block a user