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

At a loss #898

Open
thelitsune opened this issue May 21, 2024 · 2 comments
Open

At a loss #898

thelitsune opened this issue May 21, 2024 · 2 comments

Comments

@thelitsune
Copy link

Okay everyone. I am somewhat tech saavy but this is going a bit over my head. I have tried watching youtube videos, reading every resource i could. Seriously have no idea what I am doing wrong, i feel like maybe I am missing a small step somewhere or something, but I have officially given up on trying to do this on my own and am reaching out in hopes that one of you out there may have the anser that will help me!

Okay so I have a windows PC where i want to self host/self run the BTCPay Server.

I have - Docker | Powershell fully updated | Python 3 | VS | .NET | oh and I also bought a domain name with BTC. Not sure how to fully setup the domain with this as I have only ever messed with records a handful of times. I want to say i had to once to setup an at home server for minecraft or a game server of some kind that I was hosting. Maybe it was a version of WoW. IDK its been a while.

If there is a program I am missing that i need to get this running on windows just let me know and I will install. Next I will go through everything I have attempted so far.

I have attempted local development where I have built it and ran it with windows powershell. Since I am doing this all on my local machine I am not having to access thru the modem/router so I would assume I would not need to port forward or anyting up to this point. Yet no matter if I go to localhost 1337 or any other port I can find, nothing pull up when I build it locally.

When i attempt to run it as a docker image I cannot seem to get it functioning at all either. Maybe I am missing a key stop. I download it to docker. Run it and it automatically stops. I have attempted docker run commands and docker exec commands to no avail. Maybe I am just missing something or not doing the right command?

When I attempt to do docker-configurator I am only offered two options. One is the option to configure for a server that is live with a login. The other option is to set it up to run on bash commands which is not native to windows. I do not have linux. I do not wish to dual partition this particular PC. I may mess with ubuntu on one of my other devices later. If there is a specific place where I can recieve directed help in getting this set up feel free to let me know where to go.

I may have left something out or missed something but I dont think so. Anyways about to try again wish me luck!

@NicolasDorier
Copy link
Member

NicolasDorier commented May 21, 2024

@thelitsune, there are many things that can go wrong. It seems you want to do a manual install.

Basically, you can just run BTCPay with the run.ps1 after running build.ps1; it should work. The same applies to NBXplorer, which is a dependency, and Bitcoin Core.

You can use environment variables such as BTCPAY_BIND: 0.0.0.0:80 (or just the --bind argument to listen on HTTP on all interfaces of your machine).

This document probably outlines the steps better: Manual Deployment Documentation.

That said, I highly discourage you from doing this. Personally, I wouldn't do it even if I were paid. (even as the creator of it and my work environment is windows)

This Docker project isn't meant to be used on Windows anymore. (I should clean up the Windows stuff since nobody is running it, and it's not maintained at all on Windows).

It's much simpler to rent a VPS on Linux and install it, use a VM (maybe WSL can even work), or just have a Raspberry Pi or something similar rather than trying to run it on Windows.

@thelitsune
Copy link
Author

Dang i understand. I truly wish that there was a clean way to run this on windows. If I was better at programming, which I am not, I would attempt to make this fully deployable without having to rent a vps or whatever. It looks like raspberry Pi might be the way to go for me as a simpler way to do all of this. I will close this after a response back from you. Is there a discord or something that maybe i could join where if i run into issues getting it all setup and going on raspberry pi i could ask for guidance?

I am gonna do a bitcoin node but i was also looking at maybe trying to implement monero as well. Since monero is privacy focused I would rather avoid third party where everything is centralized on a host outside of myself. I am still learning but I would love to find a way to keep everything secured as best as possible.

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

2 participants