Compiling from source

The first step to compile Plume’s source code is to get it.

git clone https://github.com/Plume-org/Plume.git
cd Plume

Then, you’ll need to install Plume and the CLI tools to manage your instance. Run the following commands.

# Replace DATABASE with either postgres or sqlite depending on what you want to use
cargo +stable install diesel_cli --no-default-features --features DATABASE --version '=1.3.0'

# Build the front-end
cargo install cargo-web
cargo web deploy -p plume-front --release

# Build the back-end, replacing DATABASE either with
# postgres or sqlite depending on what you want to use
cargo install --no-default-features --features DATABASE

# Build plm, the CLI helper, replacing DATABASE again
cargo install --no-default-features --features DATABASE --path plume-cli

These commands can take a long time to run and use quite a lot of resources.

Once it’s done, you can configure your instance.

Configuration