Manual Deployment

The process is basically the following:

  1. Install python3

  2. Install nodejs and yarn

  3. Install postgresql

  4. Install redis

  5. Clone and run all parts of BitcartCC

Warning: Not recommended to use in production

Manual installation is NOT recommended in production. It should be only used for learning purpose.

Instead you should use the docker deployment.

The docker deployment will provide you easy update system and make sure that all moving parts are wired correctly without any technical knowledge. It will also setup HTTPS for you.

Typical manual installation

This steps have been done on ubuntu 18.04, adapt for your own install.

1) Install Python 3

Usually it might have already been installed, but we also need pip3 and dev packages, so:

sudo apt install python3 python3-pip python3-dev

2) Install Node.JS and Yarn

sudo apt install nodejs
curl -sS | sudo apt-key add -
echo "deb stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt remove cmdtest # comes preinstalled on ubuntu 18.04, overrides yarn
sudo apt update && sudo apt install yarn

3) Install PostgresSQL

Note, replace REPLACEME with your new postgres password.

sudo apt install postgresql postgresql-contrib
sudo -u postgres createdb bitcart
sudo -u postgres psql -U postgres -d postgres -c "alter user postgres with password 'REPLACEME';"

4) Install Redis

sudo apt install redis-server

5) Clone and prepare BitcartCC components

BitcartCC core(daemons) & Merchants API:

git clone
cd bitcart
sudo pip3 install -r requirements.txt
sudo pip3 install -r requirements/production.txt
sudo pip3 install -r requirements/daemons/btc.txt

For any other daemon(coin) you want to use, run:

sudo pip3 install -r requirements/daemons/coin_name.txt

Where coin_name is coin code(btc, ltc, etc.).

Create a file conf/.env It contains all the settings. For now, we just need to set database password and enabled cryptos.

# Replace REPLACEME with your database password
# specify used cryptocurrencies with BITCART_CRYPTOS
cat > conf/.env << EOF

Apply database migrations:

alembic upgrade head

BitcartCC admin panel

git clone
cd bitcart-admin
yarn build

BitcartCC store

git clone
cd bitcart-store
yarn build

Run everything

BitcartCC core(daemons) & Merchants API:

Start daemons:

python3 daemons/

For any other coin, do the similar procedure:

python3 daemons/

Start api:

gunicorn -c main:app

Start background worker:


BitcartCC admin panel

yarn start

BitcartCC store

NUXT_PORT=4000 yarn start

Your BitcartCC API will run on port 8000, daemons on ports 5000-500X, admin panel on 3000, store on 4000.

Upgrading manual deployment

Note: it is recommended to use docker deployment for easy upgrades.

To upgrade manually, follow the following steps:

1) Stop everything already running

Merchants API, workers, daemons, Admin panel and Store should be stopped

2) Pull latest changes

Run :

git pull

For every BitcartCC component directory (Merchants API, Admin Panel, Store).

3) Upgrade dependencies

BitcartCC core(daemons) & Merchants API:

sudo pip3 install -r requirements.txt
sudo pip3 install -r requirements/production.txt
sudo pip3 install -r requirements/daemons/btc.txt

BitcartCC admin


BitcartCC store


4) Apply new database migrations

In BitcartCC core(daemons) & Merchants API directory, run:

alembic upgrade head

5) Rebuild store and admin

For BitcartCC Admin Panel and Store, run:

yarn build

6) Start everything again

Follow instructions here