Skip to content

Instructions for building SpacetimeDB Standalone + spacetimedb-cli from master, put this into the README #2420

@cloutiertyler

Description

@cloutiertyler

jdetter:

Essentially the instructions are:

cargo build --release -p spacetimedb-cli -p spacetimedb-update -p spacetimedb-standalone

Then users need to put binaries in the right spots. Script that I shared with a user today for this:

# the update command becomes the "spacetime" binary
mkdir -p ~/.local/bin
mv spacetimedb-update-x86_64-unknown-linux-gnu ~/.local/bin/spacetime

# extract the tarball and install
tar xf spacetime-aarch64-unknown-linux-gnu.tar.gz
mkdir -p ~/.local/share/spacetime/bin/1.0.0
mv spacetimedb-cli ~/.local/share/spacetime/bin/1.0.0
mv spacetimedb-standalone ~/.local/share/spacetime/bin/1.0.0

# Set the current version
spacetime version use 1.0.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions