Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Change settings? #17

Closed
philippeowagner opened this issue Mar 17, 2017 · 7 comments
Closed

Change settings? #17

philippeowagner opened this issue Mar 17, 2017 · 7 comments

Comments

@philippeowagner
Copy link

Hi Thomas
Where are the settings stored? I've to change the host of my paperless endpoint.

@thomasbrueggemann
Copy link
Owner

Hi, the settings are stored in the localStorage of the WebView https://github.com/thomasbrueggemann/paperless-desktop/blob/master/js/src/components/Settings.js#L70

But you should be able to navigate to the settings-view by clicking on the little "gear" icon in the Button-Bar and change your settings there. As far as I now this is already implemented.

@philippeowagner
Copy link
Author

@thomasbrueggemann the settings view will not be loaded by clicking on the gear icon.

@thomasbrueggemann
Copy link
Owner

Oh okay. Than you have two options, untill the settings view is properly implemented:

  1. You remove and reinstall the application completely
  2. You start the app with dev-tools enabled https://github.com/thomasbrueggemann/paperless-desktop/blob/master/main.js#L145 and type in the console localStorage.setItem("settings.host", "http://localhost:1234"); with your new host.

@philippeowagner
Copy link
Author

The 1st option did not work for me so I tried the 2nd one.

Getting this error while trying to follow the installation guide provided here: the-paperless-project/paperless#69 (comment)

Engine:paperless-desktop phi$ /Users/phi/.npm-packages/bin/npm install
npm WARN worker-loader@0.7.1 requires a peer of webpack@>=0.9 <2 || ^2.1.0-beta but none was installed.

Because it was just a _WARN_ing I tried to ..

Engine:paperless-desktop phi$ /Users/phi/.npm-packages/bin/npm start

and got

> paperless-desktop@1.0.0 start /Users/phi/GitHub/paperless-desktop
> gulp && electron .

module.js:327
    throw err;
    ^

Error: Cannot find module 'caniuse-db/features-json/css-featurequeries.json'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/Users/phi/GitHub/paperless-desktop/node_modules/gulp-autoprefixer/node_modules/autoprefixer/lib/supports.js:16:10)
    at Object.<anonymous> (/Users/phi/GitHub/paperless-desktop/node_modules/gulp-autoprefixer/node_modules/autoprefixer/lib/supports.js:255:4)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)

Maybe you could point me to the right direction :) Thanks

@thomasbrueggemann
Copy link
Owner

thomasbrueggemann commented Mar 18, 2017

That looks as if the $ npm install did not run through properly. Try to manually remove the /node_modules folder within the /paperless-desktop folder and run $ npm install again in the /paperless-desktop folder.

As an alternative, if you just want to use paperless-desktop in its current state: I just packaged a macOS executable as a pre-release. You can use that without having to deal with node and npm.
https://github.com/thomasbrueggemann/paperless-desktop/releases/tag/v0.0.2-alpha

@philippeowagner
Copy link
Author

Problem solved 🎉 !! Thank you very much for 0.0.2.

@philippeowagner
Copy link
Author

BTW: The suggestion in your comment did the trick.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

No branches or pull requests

2 participants