777 bytes added
, 12:25, 12 January 2011
==BaseX Server==
If you want to interact (execute commands, add databases, add users)
with the server, start the server with the <code>-i</code> flag.
:<code>
> java -cp BaseX.jar org.basex.BaseXServer -i
</code>
All available command-line flags can be listed by adding <code>-h</code> to the call:
:<code>
> java -cp BaseX.jar org.basex.BaseXServer -h
</code>
<pre>
Usage: BaseXServer [-s] [-dpz] [-c] [stop]
stop Stop existing server
-c<cmd> Execute initial database command(s)
-d Activate debugging mode
-i Enter interactive mode
-p<num> Set server port
-s Start as service
-z Suppress logging
</pre>
If the server is succesfully started, this is coming up:
<pre>BaseX [Server]
Server was started.</pre>
==BaseX Standalone==