btcpayserver / app

MIT License
1 stars 0 forks source link

BTCPay App

Setup for development

Here's what needs to happen to run the app in the browser:

# Clone the app repo
git clone git@github.com:btcpayserver/app.git

# Switch to it
cd app

# Install the workloads
dotnet workload restore

# Initialize the server submodule
git submodule init && git submodule update --recursive

# Go to the server submodule
cd submodules/btcpayserver/BTCPayServer.Tests

# Verify you are on the `mobile-working-branch` branch
git branch --show current

# If not, check it out
git checkout mobile-working-branch

# Run the server
docker-compose up dev

Now you can open up the IDE and run DEV ALL profile which builds both the App and the BTCPay Server.

The app should open in the browser and you should see the Welcome screen. Click the Connect button, use http://localhost:14142 as the server URL and an existing account for the server.