Installation #
Pizza is compatible with all major operating systems. The package is compiled statically, and it does not require any external dependencies.
Automatic installation #
Use the following command to automatically download the latest version of INFINI
Pizza for your platform and extract it into /opt/pizza:
curl -sSL https://get.infini.cloud | bash -s -- -p pizza
The optional parameters for the script are as follows:
-v <version number>(default is the latest version)-d <installation directory>(default is/opt/pizza)
Manual installation #
Visit the URL below to download the package for your operating system:
https://release.infinilabs.com/
Verification of the installation #
Assuming Pizza is in your $PATH after installation, run the following
command to ensure the package has been installed correctly:
$ pizza --version
PIZZA 0.1.0
Starting the server #
Start Pizza as follows with the configuration:
$ pizza --config pizza.yml
___ _____ __________ _
/ _ \\_ \/ _ / _ / /_\
/ /_)/ / /\/\// /\// / //_\\
/ ___/\/ /_ / //\/ //\/ _ \
\/ \____/ /____/____/\_/ \_/
[PIZZA] The Next-Gen Real-Time Hybrid Search & AI-Native Innovation Engine.
...
Interaction with the server #
The HTTP API listens on 127.0.0.1:28000 by default (api.network.binding
in the configuration file). Authentication is enabled in the shipped
configuration (security.auth_enabled: true) with the bootstrap key
pz_bootstrap_key, so requests must carry an API key — either as
Authorization: Bearer <key> or X-Api-Key: <key>:
curl -XPUT http://127.0.0.1:28000/testing \
-H 'Authorization: Bearer pz_bootstrap_key'
If you enable auth without setting security.bootstrap_key, the node
generates a random login token and prints it to the terminal at startup —
use that token the same way. Keys can be managed at runtime with the
Security APIs.
Refer to the reference page for more APIs.
Shutdown the server #
Press Ctrl+C to shut down Pizza, and the message below is displayed:
...
__ _ __ ____ __ _ __ __
/ // |/ // __// // |/ // /
/ // || // _/ / // || // /
/_//_/|_//_/ /_//_/|_//_/
©INFINI.LTD, All Rights Reserved.