Fixed problems in README.

This commit is contained in:
Winston Li
2014-12-06 01:56:07 +00:00
parent dad5d5a334
commit bfefbf0737
+4 -4
View File
@@ -3,8 +3,8 @@ writelatex-git-bridge
Required Required
-------- --------
* ant (for building) * `ant` (for building)
* jdk-7 (for compiling and running) * `jdk-7` (for compiling and running)
Building Building
-------- --------
@@ -17,7 +17,7 @@ The configuration file will be at `/etc/wlgb/config.json`.
### Using ant ### ### Using ant ###
Run `ant all` to build, test, and package it into a jar at `bin/writelatex-git-bridge.jar`. Run `ant all` to build, test, and package it into a jar at `bin/writelatex-git-bridge.jar`.
Use `java -jar <path_to_jar> <path_to_config_file> to run the server. Use `java -jar <path_to_jar> <path_to_config_file>` to run the server.
Runtime Configuration Runtime Configuration
--------------------- ---------------------
@@ -31,7 +31,7 @@ The configuration file is in `.json` format. There is an example at `bin/config.
"apiBaseUrl": base url for the snapshot api (string), "apiBaseUrl": base url for the snapshot api (string),
"username": username for http basic auth (string, optional), "username": username for http basic auth (string, optional),
"password": password for http basic auth (string, optional), "password": password for http basic auth (string, optional),
"serviceName": current name of writeLaTeX in case it ever changes (string) "serviceName": current name of writeLaTeX in case it ever changes ;) (string)
} }
You have to restart the server for configuration changes to take effect. You have to restart the server for configuration changes to take effect.