forked from plume/documentation
Change to download pre-built binaries from Gitea
This commit is contained in:
parent
b29ca1f892
commit
dafd7c1b90
2 changed files with 6 additions and 8 deletions
|
@ -7,10 +7,9 @@ for other platforms may come in the future. For Windows users, try this [page](h
|
|||
|
||||
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:
|
||||
To download and install the latest release, first define the following variable in your shell:
|
||||
|
||||
- `PLUME_VERSION`: the Plume version to install. The latest is `0.5.0`.
|
||||
- `PLUME_DB`: the database backend to use. Either `postgres` or `sqlite`.
|
||||
- `DOWNLOAD_URI`: URI of archived binary file. You may find it at https://git.joinplu.me/Plume/Plume/releases. It includes database name `postgresP or `sqlite` in the file name. Choose which you want.
|
||||
|
||||
Then run these commands:
|
||||
|
||||
|
@ -22,7 +21,7 @@ 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
|
||||
wget -O plume.tar.gz $DOWNLOAD_URI
|
||||
# Extract them
|
||||
tar -xf plume.tar.gz
|
||||
mv bin/* ~/.cargo/bin/
|
||||
|
|
|
@ -4,10 +4,9 @@ title: Updating pre-built binaries
|
|||
|
||||
Prebuilt binaries are only available for 64 bits Linux machines.
|
||||
|
||||
You'll need to define these two variables in your shell first:
|
||||
You'll need to define a variable in your shell first:
|
||||
|
||||
- `PLUME_VERSION`: the Plume version to install. The latest is `0.5.0`.
|
||||
- `PLUME_DB`: the database backend to use. Either `postgres` or `sqlite`.
|
||||
- `DOWNLOAD_URI`: URI of archived binary file. You may find it at https://git.joinplu.me/Plume/Plume/releases. It includes database name `postgresP or `sqlite` in the file name. Choose which you want.
|
||||
|
||||
Then run these commands:
|
||||
|
||||
|
@ -16,7 +15,7 @@ Then run these commands:
|
|||
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
|
||||
wget -O plume.tar.gz $DOWNLOAD_URI
|
||||
# Extract them
|
||||
tar -xf plume.tar.gz
|
||||
mv bin/* ~/.cargo/bin/
|
||||
|
|
Loading…
Reference in a new issue