Bitcart Docs
TwitterTest
  • Introduction
  • Bitcart Basics
    • Use Case
    • Walkthrough
    • Bitcart vs others
    • Try it out
  • Deployment
    • Configurator
    • Docker Deployment
    • Local Deployment
    • Manual Deployment
    • Hardware Deployment
    • Raspberry Pi Deployment
    • Third-Party Hosting
  • Your first invoice
    • Electrum wallet
  • Guides
    • ETH payments plugin
    • Bitcart Plugins Development
    • Default nodes/your own node
    • One domain mode
    • Backups
    • Lightning Network
    • Transaction speed
    • Fiat currencies support
    • Templates
    • Themes
    • Store POS
    • Server management settings
    • Tor
    • Multiple deployments on one server
  • Integrations
    • Shopify
    • WooCommerce
    • WHMCS
    • FOSSBilling
    • Odoo
    • Custom Integration
  • Examples
    • Atomic Tip Bot
    • Templates
  • Support and Community
    • FAQ and common issues
      • General FAQ
      • Server Settings FAQ
      • Deployment FAQ
      • Terminology FAQ
      • Stores FAQ
      • Altcoin FAQ
    • Support
    • Troubleshooting an issue
    • Contribute
    • Community
  • Development
    • Architecture
    • Developing Locally
    • How to add an Altcoin
    • Security Disclosures
Powered by GitBook
On this page
  • Local setup (.local domains, only current PC)
  • Tor setup (everywhere, requires tor browser)

Was this helpful?

Edit on Git
Export as PDF
  1. Deployment

Local Deployment

PreviousDocker DeploymentNextManual Deployment

Last updated 1 year ago

Was this helpful?

If you want to try out Bitcart on your local machine, it is also possible. If you don't have a domain name, Bitcart provides a way to test in a local-only deployment.

The setup is almost the same as always (see ), the catch is: the domain name must end with .local. Bitcart then modifies your host machines' /etc/hosts file to make it work.

This only works from the computer on which you install Bitcart directly. To access it from outside, you should either use Tor or your own domain name + static ip

Here and later we assume that you've cloned the bitcart-docker repository, entered that directory and entered root shell by using sudo su - (note that minus at the end, it's important!). If you're on mac os, use the scripts as your current user and don't enter root shell.

Local setup (.local domains, only current PC)

export BITCART_HOST=bitcart.local
export BITCART_REVERSEPROXY="nginx"
./setup.sh

You will get the admin panel running at http://bitcart.local/admin, store at http://bitcart.local and api at http://bitcart.local/api. Good for testing locally/developing without all the hassles of . Note that if you don't use , it will still work.

Tor setup (everywhere, requires tor browser)

export BITCART_ADDITIONAL_COMPONENTS=tor
./setup.sh

It isn't even required to set BITCART_HOST if tor is enabled. You can get onion addresses generated from the compose_tor_servicesdir docker volume. For more details check our .

It is even possible to combine both ways to be able to access both locally and from anywhere!

docker deployment
manual deployment
one domain mode
tor guide