Skip to content

Commit

Permalink
fix(nix): revert regression
Browse files Browse the repository at this point in the history
  • Loading branch information
youwen5 committed Nov 17, 2024
1 parent ab5ae09 commit e56cb5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ get the development build up and running. Please keep in mind that the following
is only necessary if you are building from source; the binaries have no external
dependencies.

The preferred way to run Jankboard on Linux and macOS is to use the Nix package
manager. However, the below instructions detail how to install and use the
required dependencies manually.

### Prerequisites

- Rust and `cargo`. Check the [Rust docs](https://www.rust-lang.org/learn) for
Expand All @@ -134,10 +138,11 @@ dependencies.
2. Enter the `client` directory. This is where the majority of the app's source
code lives.
3. Run `pnpm install` to download all required NPM dependencies.
4. To create a production build, run `pnpm tauri build`. This will use Cargo to
4. Run `pnpm run build-splash` to compile the splash screen.
5. To create a production build, run `pnpm tauri build`. This will use Cargo to
fetch and build all the Rust dependencies, then compile the app and output an
executable for your platform in `target`.
5. To launch a developer build with hot reloading and convenient debugging
6. To launch a developer build with hot reloading and convenient debugging
features, run `pnpm tauri dev`.

#### Some notes:
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "pnpm run build-splash && vite build",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"tauri": "tauri",
Expand Down

0 comments on commit e56cb5a

Please sign in to comment.