megafilter icon indicating copy to clipboard operation
megafilter copied to clipboard

Global install?

Open kseistrup opened this issue 10 years ago • 7 comments

Why the need for a system install as root if megafilter is intended as a single user app? I should be able to install megafilter in any directory that I [as a non-privileged user] has write access to.

Cheers.

kseistrup avatar Jul 14 '13 11:07 kseistrup

Hi Klaus,

A global install is not required, it is just allowed via package.json as it's an application instead of a library. I'll update the documentation to reflect this.

Thanks for your interest,

Cal On 14 Jul 2013 12:55, "Klaus Alexander Seistrup" [email protected] wrote:

Why the need for a system install as root if megafilter is intended as a single user app? I should be able to install megafilter in any directory that I [as a non-privileged user] has write access to.

Cheers.

— Reply to this email directly or view it on GitHubhttps://github.com/naggie/megafilter/issues/72 .

naggie avatar Jul 14 '13 12:07 naggie

I don't know anything about node.js, i just followed the installation instructions. First I tried without sudo because I hoped that megafilter would install in current directory, but the installation was denied because of missing write access to /usr/lib.

kseistrup avatar Jul 14 '13 12:07 kseistrup

OK, try it without the -g option to install it locally. You can then run node app in the node_modules/megafilter/ directly.

Alternatively, you could clone this git repository and run npm install to automatically grab dependencies. On 14 Jul 2013 13:15, "Klaus Alexander Seistrup" [email protected] wrote:

I don't know anything about node.js, i just followed the installation instructions. First I tried without sudo because I hoped that megafilterwould install in current directory, but the installation was denied because of missing write access to /usr/lib.

— Reply to this email directly or view it on GitHubhttps://github.com/naggie/megafilter/issues/72#issuecomment-20935548 .

naggie avatar Jul 14 '13 14:07 naggie

Thanks for the help. :)

kseistrup avatar Jul 14 '13 14:07 kseistrup

You're welcome On 14 Jul 2013 15:59, "Klaus Alexander Seistrup" [email protected] wrote:

Thanks for the help. :)

— Reply to this email directly or view it on GitHubhttps://github.com/naggie/megafilter/issues/72#issuecomment-20937541 .

naggie avatar Jul 14 '13 15:07 naggie

Another way:

mkdir megafilter
cd megafilter
npm install megafilter
node_modules/.bin/megafilter -s subscriptions.xml --import-greader-starred starred.json

dz0ny avatar Jul 14 '13 16:07 dz0ny

Cool, thanks. :)

kseistrup avatar Jul 14 '13 16:07 kseistrup