From f0dca58abcf6a2f331cd8e439b084c05e15c10db Mon Sep 17 00:00:00 2001 From: Hazel K Date: Wed, 9 Oct 2024 09:13:00 -0400 Subject: [PATCH] docs: simplify unzip instructions Now that we use PowerShell Core for the build script, the release zips can be used with standard tools like `unzip`. --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index de45aab..1095706 100644 --- a/readme.md +++ b/readme.md @@ -180,7 +180,7 @@ Make sure to substitute all variables for their correct values. 1. Create a service account for ModShark: `sudo useradd -s /bin/bash -d /home/modshark -m modshark` 2. Log into the service account: `sudo su - modshark` 3. Download the [latest release package](https://github.com/warriordog/ModShark/releases/latest): `wget -O ModShark-latest.zip https://github.com/warriordog/ModShark/releases/latest/download/ModShark-latest.zip` -4. Extract the release package into a directory: `mkdir ModShark && bsdtar -xvf ModShark-latest.zip -C ModShark` +4. Extract the release package into a directory: `mkdir ModShark && unzip -o ModShark-latest.zip -d ModShark` 5. Create the production config file (see the [Configuration section](#Configuration) for details): `nano ModShark/appsettings.Production.json` 6. Run the latest database migrations: `psql -U $postgres_user -W -d $sharkey_database -a -f ModShark/update-ModShark-migrations.sql` 7. Return to an admin account: `exit` @@ -195,7 +195,7 @@ Make sure to substitute all variables for their correct values. 1. Stop the ModShark service, if it's running: `sudo systemctl stop modshark` 2. Log into the ModShark service account: `sudo su - modshark` 3. Download the [latest release package](https://github.com/warriordog/ModShark/releases/latest): `wget -O ModShark-latest.zip https://github.com/warriordog/ModShark/releases/latest/download/ModShark-latest.zip` -4. Extract the release package into your installation directory, overwriting any files: `bsdtar -xvf ModShark-latest.zip -C ModShark` +4. Extract the release package into your installation directory, overwriting any files: `unzip -o ModShark-latest.zip -d ModShar` 5. Run the latest database migrations: `psql -U $postgres_user -W -d $sharkey_database -a -f ModShark/update-ModShark-migrations.sql` 6. Return to an admin account: `exit` 7. Start the ModShark service: `sudo systemctl start modshark`