git clone
to clone the repo andcdinto the directoryyarn
to install the packagesyarn dev
will open the app on: http://localhost:5173
yarn run formatyarn run lintyarn run typecheck
- Create
.env
Copy.env.exampleand save as.env yarn build
NOTE: BTC Map uses the latest LTS version of node. If you have NVM, you can simply run nvm use in the root directory of the repo to switch to the supported node version.
- Iconify: for general material icons
- vite-plugin-icons-spritesheet: for individual icons (i.e. apps) spritesheets are automatically generated
During development the spritsheets might not update. Use a private-tab to check the latest version.
yarn playwright install yarn playwright test
Runs the end-to-end tests.
yarn playwright test --ui
Starts the interactive UI mode.
yarn playwright test --project=chromium
Runs the tests only on Desktop Chrome.
yarn playwright test example
Runs the tests in a specific file.
yarn playwright test --debug
Runs the tests in debug mode.This website is a progressive web app, meaning you can install it on your mobile device and use it like a native application. Just look for the Add to home screen or Install option in your browser while visiting btcmap.org.
For information on how to embed the BTC Map web map onto your own website or application please reference our Wiki.
Thanks to:
Tagger profile badges by AndrejCibik
Satoshi nakamoto icons created by Vitaly Gorbachev - Flaticon
