Prerequisites
Before you can use this environment, you need to have:- Python 3.11 or higher installed with pip and venv modules. You can download Python from here.
- A Python virtual environment created and activated in a dedicated project folder of your choice.
- Install the superlinked-server library:
pip install superlinked-server
How to start the application
To start the application follow the steps below:1
Create the Superlinked app folder
Create a directory to store your Superlinked configuration files by running
mkdir superlinked_app
. For a minimal working example, copy the app.py into your newly created superlinked_app
directory. For more advanced use cases, please read the next section below.2
Start the Superlinked server
To start the server run the
python -m superlinked.server
command.SERVER_PORT
environment variable) and expose the API endpoints for use. You can verify the server is running by visiting http://localhost:8080/docs in your browser.
Configuring and Customizing Your Application
Once your server is running, you’ll need to configure and integrate your application. There are two main aspects to focus on:Application Configuration Guide
Learn how to structure and customize your application
API Integration Guide
Understand how to interact with your application through the REST API