Vilhelm-Ian / IncShelf

GNU Affero General Public License v3.0
12 stars 1 forks source link

How to install in Linux? #1

Open Golddouble opened 4 months ago

Golddouble commented 4 months ago

Hello

I am on Linux (Debian 12 based).

How to install this programme? For example what do I have to download?

Can you give me step for step instructions?

Would appreciate some answer. Thank you.

Vilhelm-Ian commented 4 months ago

Clone the repo cd into the newly created folder run npm install To run in development mode run npm run tauri dev --debug To run in production mode run npm run tauri build cd into src-tauri/target/release there you will find the executable

if you have any issue. Tell me. Also you maybe want to tryout different commits. Not sure in what state I left it. I am going to continue working on it after I write this comment

Golddouble commented 4 months ago

Thank you.

Step 1) I was successful with: git clone https://github.com/Vilhelm-Ian/IncShelf

Step 2) Installing npm (160 MB)

Step 3)

$ npm install
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: eslint-plugin-compat@3.13.0
npm WARN Found: eslint@8.56.0
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.56.0" from the root project
npm WARN   28 more (@babel/eslint-parser, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" from eslint-plugin-compat@3.13.0
npm WARN node_modules/eslint-config-developit/node_modules/eslint-plugin-compat
npm WARN   eslint-plugin-compat@"^3.5.1" from eslint-config-developit@1.2.0
npm WARN   node_modules/eslint-config-developit
npm WARN 
npm WARN Conflicting peer dependency: eslint@7.32.0
npm WARN node_modules/eslint
npm WARN   peer eslint@"^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" from eslint-plugin-compat@3.13.0
npm WARN   node_modules/eslint-config-developit/node_modules/eslint-plugin-compat
npm WARN     eslint-plugin-compat@"^3.5.1" from eslint-config-developit@1.2.0
npm WARN     node_modules/eslint-config-developit
npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated eslint-plugin-standard@5.0.0: standard 16.0.0 and eslint-config-standard 16.0.0 no longer require the eslint-plugin-standard package. You can remove it from your dependencies with 'npm rm eslint-plugin-standard'. More info here: https://github.com/standard/standard/issues/1316
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated babel-eslint@7.2.3: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

> temp2@0.0.0 prepare
> husky install

husky - Git hooks installed

added 1195 packages, and audited 1196 packages in 42s

206 packages are looking for funding
  run `npm fund` for details

10 vulnerabilities (6 moderate, 1 high, 3 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

Is this how it should look like?

Step 4)

user@mx:~/Downloads/IncShelf
$ npm run tauri build

> temp2@0.0.0 tauri
> tauri build

       Error failed to get cargo metadata: No such file or directory (os error 2)

Unfortunately there seems to be an issue with this step 4 (?)