Merge pull request #27 from Plume-org/prebuilt

WIP: Docs for prebuilt binairies
stable
Baptiste Gelez 5 years ago committed by GitHub
commit 676d01f614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,6 +11,6 @@ in this list:
<ul class="choices">
<li><a href="with/docker">Docker</a></li>
<li><a href="with/yunohost">YunoHost</a></li>
<li><a href="deps/prebuilt">Prebuilt binaries (not available yet)</a></li>
<li><a href="deps/prebuilt">Prebuilt binaries</a></li>
<li><a href="deps">From source</a></li>
</ul>

@ -2,5 +2,43 @@
title: Installing pre-built binaries
---
This installation method is not yet available. We will provide pre-built binaries
that you can intall and run in a few seconds before the first official release.
This installation method is only available for 64 bits Linux machines. Pre-built binairies
for other platforms may come in the future.
You will need to have `wget` installed for this method to work.
To download and install the latest release, first define the following variables in your shell:
- `PLUME_VERSION`: the Plume version to install. The latest is `0.3.0-alpha-2`.
- `PLUME_DB`: the database backend to use. Either `postgres` or `sqlite`.
Then run these commands:
```bash
# Create a directory to store executables (this is the standard place for Rust binaries)
mkdir -p ~/.cargo/bin
# Create a directory to store static files and database config
mkdir Plume
cd Plume
# Download the files
wget -O plume.tar.gz https://github.com/Plume-org/Plume/releases/download/$PLUME_VERSION/plume-$PLUME_DB.tar.gz
# Extract them
tar -xf plume.tar.gz
mv bin/* ~/.cargo/bin/
# Make sure they are executable
chmod +x ~/.cargo/bin/*
# Clean useless files
rm plume.tar.gz
rmdir bin
# Add them to your path, so that you can run them (you may want to edit your ~/.bashrc too)
PATH=$PATH:~/.cargo/bin/
```
To check that everything went well, you can run `plm --help`. It should show an help message.
If everything is working, you can configure your instance.
<a class="action" href="/installation/config">Configuration</a>

Loading…
Cancel
Save