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

Please provide instructions for windows installations #114

Closed
Relaxo143 opened this issue Apr 10, 2019 · 6 comments
Closed

Please provide instructions for windows installations #114

Relaxo143 opened this issue Apr 10, 2019 · 6 comments

Comments

@Relaxo143
Copy link

I was able to install previous version with just npm install and npm start, but since the new .env was introduced, things seem to be different. It'd be great if you could provide instructions for windows and maybe even include them in the readme file.

@tyzoo
Copy link

tyzoo commented Apr 10, 2019

Run npm install

Rename ".env-sample" to ".env"

Remove # and set the following variables in .env
BTCEXP_BITCOIND_HOST=localhost
BTCEXP_BITCOIND_PORT=8332
BTCEXP_BITCOIND_USER=
BTCEXP_BITCOIND_PASS=

This should get you rolling

@Relaxo143
Copy link
Author

Run npm install

Rename ".env-sample" to ".env"

Remove # and set the following variables in .env
BTCEXP_BITCOIND_HOST=localhost
BTCEXP_BITCOIND_PORT=8332
BTCEXP_BITCOIND_USER=
BTCEXP_BITCOIND_PASS=

This should get you rolling

Thanks for the reply. I can't have a file with just ".env" so I renamed it to "env.env", however I get this error:Running RPC Explorer for Bitcoin Connecting via RPC to node at 127.0.0.1:8332 Error for RPC command 'getnetworkinfo': Error: no auth mechanism defined Error 923grf20fge: Error: no auth mechanism defined, error json: {"cause":{},"isOperational":true}

I specified the credentials in the .env fields are removed the #

@tyzoo
Copy link

tyzoo commented Apr 10, 2019

Are you sure your RPC user/pass are correct? I created a .bat file to launch the bitcoind server with RPC credentials.

StartBitcoind.bat:
@echo off

start "bitcoind" "C:\Program Files\Bitcoin\daemon\bitcoind.exe" -datadir=C:\BitcoinCore -txindex=1 -rpcuser=USERNAME -rpcpassword=PASSWORD

Edit- You should be able to create a file name with .env

@Relaxo143
Copy link
Author

Screenshot_1
I'm sure they are correct. I copied them from the .conf file itself.

@d3spwn
Copy link

d3spwn commented Apr 13, 2019

Have you tried installing it with Windows Subsystem for Linux?

@Relaxo143
Copy link
Author

The .env isn't working for me for some reason so I just start it with btc-rpc-explorer and arguments. Thanks, everyone!

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

No branches or pull requests

4 participants