From f10de82cd83cdaae665f32b76f7f036cf8030585 Mon Sep 17 00:00:00 2001 From: frectonz Date: Thu, 20 Jun 2024 09:15:26 +0300 Subject: [PATCH] chore: remove unused action --- .github/workflows/build-ui.yml | 28 ---------------------------- README.md | 22 +++++++++++++++------- 2 files changed, 15 insertions(+), 35 deletions(-) delete mode 100644 .github/workflows/build-ui.yml diff --git a/.github/workflows/build-ui.yml b/.github/workflows/build-ui.yml deleted file mode 100644 index 2a8ea9d..0000000 --- a/.github/workflows/build-ui.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Build UI -on: - # Defining workflow_call means that this workflow can be called from - # your main workflow job - workflow_call: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - - - name: Install npm dependencies - run: | - cd ui - npm install - - - name: Build npm project - run: | - cd ui - npm run build diff --git a/README.md b/README.md index f21cec9..3df2e7b 100644 --- a/README.md +++ b/README.md @@ -39,17 +39,19 @@ More features available on the [releases page](https://github.com/frectonz/sqlit ![query](./screenshots/query.png) ![query gif](https://github.com/frectonz/sqlite-studio/assets/53809656/3e47a890-ddd9-4c7f-be88-53e30cc23b15) -## How To Run It +## Installation -### Pre-Built Binaries +### Install prebuilt binaries via shell script (MacOS and Linux) -You can find pre-built binaries for the following targets on the [releases](https://github.com/frectonz/sqlite-studio/releases) page. +```sh +curl --proto '=https' --tlsv1.2 -LsSf https://github.com/frectonz/sqlite-studio/releases/download/0.1.7/sqlite-studio-installer.sh | sh +``` -- Linux `sqlite-studio__x86_64-unknown-linux-musl.zip` -- Windows `sqlite-studio__x86_64-pc-windows-gnu.zip` -- MacOS x86 `sqlite-studio__x86_64-apple-darwin.zip` +### Install prebuilt binaries via powershell script -After downloading the ZIP archive, you can extract it and get the binary. +```sh +powershell -c "irm https://github.com/frectonz/sqlite-studio/releases/download/0.1.7/sqlite-studio-installer.ps1 | iex" +``` ### Nix @@ -60,6 +62,12 @@ nix shell github:frectonz/sqlite-studio sqlite-studio [sqlite_db] ``` +## Updating + +```bash +sqlite-studio-update +``` + ## Contributing Before executing `cargo run` you need to build the UI because the rust app statically embedded the UI files in the binary.