Changes

Jump to navigation Jump to search
196 bytes removed ,  11:46, 2 July 2020
m
Text replacement - "[http://files.basex.org/" to "[https://files.basex.org/"
This page is part of the [[Getting Started]] Section.
BaseX offers a It introduces you to the standalone mode in which all [[Commands|database commands]] can be executed from the command -line or console.The article on the [[Database Server]] provides numerous examples for running commands in the standalone modeof BaseX.(Note that the standalone mode does ''not'' interact with the client/server architecture.)
=Startup=
The command-line client can be started as follows:
* Run one of the {{Code|[[Start_Scripts#Linux.2FMac:_basex|basex]]}} or {{Code|[[Start Scripts#Windows: basex.bat|basex.bat]]}} scripts.
* If you have installed BaseX on ''Windows'', click on the '''BaseX Standalone''' icon.
* Execute the following command: {{Code|java -cp BaseX.jar org.basex.BaseX}}
Various [[Command-Line_Options#Standalone|command-line options]] are available to simplify batch processing. The [[Start_Scripts|start script]] can be adjusted for individual purposes (e.g. if the default memory limit is too restrictive).
 
Please note that the standalone client must not be used if you perform parallel (concurrent) read and write operations on your databases. See [[Startup#Concurrent Operations|Concurrent Operations]] for more details.
=Operations=
==Create a Database==
* To create a database you need an XML document, e.g. [httphttps://files.basex.org/xml/factbook.xml factbook.xml].
* Save this document to your working directory.
* Type in the following command to create and open the database:
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu