Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install it in another drve #37

Closed
ArdiArtani opened this issue May 9, 2015 · 4 comments
Closed

Install it in another drve #37

ArdiArtani opened this issue May 9, 2015 · 4 comments
Labels

Comments

@ArdiArtani
Copy link

how to install it in my F drive??

I did in cmd first

  1. F:
  2. created a folder peerflix, in cmd entered cd peerflix
  3. npm install -g peerflix-server
  4. peerflix

and the temp folder to bo in F drive where the downloaded movies store

@asapach
Copy link
Owner

asapach commented May 9, 2015

What you really want is to override the default configuration: create a new file C:\Users\<user>\.config\peerflix-server\config.json and paste this:

{
  "tmp": "f:/<your-folder>"
}

@ArdiArtani
Copy link
Author

it worked :)

one more question i want the peerflix-server folder to be too on F drive the one that is installed in C:\Users\AppData\Roaming\npm\node_modules

how can i do that ??

@asapach
Copy link
Owner

asapach commented May 10, 2015

When you run npm -g i, it will install with the rest of the global npm modules.
If you run npm i without -g, it will install into the current folder, but it will no longer be in the PATH, so you'll have to call it by full path, or by running npm start when you cd inside node_modules.

@ArdiArtani
Copy link
Author

thank you :)

@asapach asapach closed this as completed May 11, 2015
@asapach asapach mentioned this issue Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants