-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Feature request] Allow parameters to ipfs init #1296
Comments
this is currently changeable through the environment variable |
@RichardLitt we should add the env vars to the CLI API spec as it will have to be part of a language implementation |
Indeed. This is documented in ipfs main help now. Should likely also be documented On Fri, Jan 1, 2016 at 22:45 David Dias notifications@github.com wrote:
|
Env vars are really problematic, as they will not work in the same way on Windows and on any other api transport like http. So I suggest that all config that can be done via an env variable also needs to be available as a regular flag. |
ok we could use a On Wednesday, January 13, 2016, Friedel Ziegelmayer <
|
See #1296 License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
@dignifiedquire Is there any scenario where it would be useful to set IPFS_PATH on the HTTP API? |
@Ape I would say so, e.g. if it's used from another application that's running locally and it wants to start a daemon that has another home directory specific to the application. |
Closes ipfs#1296 License: MIT Signed-off-by: dignifiedquire <dignifiedquire@gmail.com>
Closes ipfs#1296 License: MIT Signed-off-by: dignifiedquire <dignifiedquire@gmail.com>
Closes ipfs#1296 License: MIT Signed-off-by: dignifiedquire <dignifiedquire@gmail.com>
Closes ipfs#1296 License: MIT Signed-off-by: dignifiedquire <dignifiedquire@gmail.com>
#2526 was closed due to lack of activity. If anyone is interested on picking this issue up, that might be a good place to start. |
Default behavior is to init IPFS root in ~/.ipfs , allow parameter where this can be changed.
Examples:
ipfs init ipfs-test
ipfs init /var/lib/ipfs
The text was updated successfully, but these errors were encountered: