Skip to content

Commit

Permalink
docs: simplify unzip instructions
Browse files Browse the repository at this point in the history
Now that we use PowerShell Core for the build script, the release zips can be used with standard tools like `unzip`.
  • Loading branch information
warriordog authored Oct 9, 2024
1 parent 4dff7eb commit f0dca58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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`
Expand Down

0 comments on commit f0dca58

Please sign in to comment.