Skip to content

Installation

This guide covers the different ways to install Memista.

As a Library

Add Memista to your Cargo.toml:

[dependencies]
memista = "0.1"

Then run:

cargo build

As a CLI Application

From crates.io

The simplest way to install Memista:

cargo install memista

After installation, start the server:

memista

From Source

Clone the repository and build:

# Clone the repository
git clone https://github.com/sokratis-xyz/memista.git
cd memista

# Build in release mode
cargo build --release

# Run the binary
./target/release/memista

Development Build

For development with debug symbols:

cargo build
cargo run

Verifying Installation

After starting the server, verify it's running:

curl http://localhost:8083/openapi.json

You should receive an OpenAPI specification JSON response.

Configuration

By default, Memista uses these settings:

Setting Default Value
Host 127.0.0.1
Port 8083
Database Path memista.db
Log Level info

To customize these settings, create a .env file or set environment variables. See Configuration for details.

Next Steps