commit 814eb6bd595797f24b4174800939781e1255837a Author: NicolasDorier Date: Fri Sep 15 01:21:20 2017 +0900 Init diff --git a/DockerFile b/DockerFile new file mode 100644 index 0000000..27a9602 --- /dev/null +++ b/DockerFile @@ -0,0 +1,8 @@ +FROM microsoft/dotnet:2.0.0-sdk + +RUN git clone https://github.com/btcpayserver/btcpayserver +RUN cd btcpayserver && dotnet restore && cd BTCPayServer && dotnet build -c Debug +EXPOSE 23001 +WORKDIR /btcpayserver/BTCPayServer +ENTRYPOINT ["dotnet", "bin/Debug/netcoreapp2.0/BTCPayServer.dll"] +CMD ["-testnet", "-explorercookiefile=/.cookie", "-explorerurl=https://nbxplorer-testnet-public.azurewebsites.net/", "-bind=0.0.0.0"] \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..475f4af --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 btcpayserver + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..8bdf266 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# How to use + +Mainnet is not support for now, as BTCPay is under development. +Running on TestNet: + +``` +git clone https://github.com/btcpayserver/btcpayserver-docker +cd btcpayserver-docker +docker build -t btcpay +docker run -p 23001:23001 -ti btcpay +``` + +You can then browse http://127.0.0.1:23001/ +By default this will connect to a NBXplorer instance hosted by me, on which I can make no promise of avaialability. +