improved explanation of trialing with composer (#99)

This commit is contained in:
Chris
2019-10-22 09:25:38 +02:00
committed by Martin Monperrus
parent 31acf416d6
commit 37a2d9c40c
+3 -2
View File
@@ -367,7 +367,7 @@ You can also set another order function in ''bibtexbrowser.local.php'':
function my_own_order($a, $b) {
return strcmp($a->getKey(),$b->getkey());
}
define('ORDER_FUNCTION','my_own_order');
?>
</pre>
@@ -545,7 +545,8 @@ In your project's `composer.json`, just add this <pre>"monperrus/bibtexbrowser":
}
</pre>
With composer, a test server can be started with this command:
With composer, a test server can be started with the following commands:
<pre>cd vendor/monperrus/bibtexbrowser/</pre>
<pre>composer serve</pre>
Which runs this script:
<pre>php -S localhost:29896 bibtexbrowser.php</pre>