Improve doc to reflect new composer script (#84)

This commit is contained in:
Chris
2018-02-02 09:36:14 +01:00
committed by Martin Monperrus
parent e6b318f961
commit f0392d3cf0
+9
View File
@@ -553,6 +553,15 @@ In your project's `composer.json`, just add this <pre>"monperrus/bibtexbrowser":
} }
</pre> </pre>
With composer, a test server can be started with this command:
<pre>composer serve</pre>
Which runs this script:
<pre>php -S localhost:29896 bibtexbrowser.php</pre>
Now, to display a particular bibtex file in your browser, the URI should be of this form:
<pre>localhost:29896/?bib=bibfile.bib</pre>
Note the forward slash following the port number.
====How to add a banner to the main view in frameset mode?==== ====How to add a banner to the main view in frameset mode?====
For instance, if you want to add a "home page" button in the main view of the frameset mode, add a banner function in ''bibtexbrowser.local.php'' as follows: For instance, if you want to add a "home page" button in the main view of the frameset mode, add a banner function in ''bibtexbrowser.local.php'' as follows: