Installation

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 http://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.yaml
   ___ _____  __________   _
  / _ \\_   \/ _  / _  /  /_\
 / /_)/ / /\/\// /\// /  //_\\
/ ___/\/ /_   / //\/ //\/  _  \
\/   \____/  /____/____/\_/ \_/

[PIZZA] The Next-Gen Real-Time Hybrid Search & AI-Native Innovation Engine.
...

Interaction with the server #

Assuming Pizza is listening on 127.0.0.1:9200, use the following command to create a collection named testing:

curl -XPUT http://127.0.0.1:9200/testing

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.
Calendar August 28, 2024
Edit Edit this page