HollaEx®
⚙️ DashboardStart →
  • HollaEx® — The Crypto Exchange Solution
  • ☁️Cloud Operators
    • Launching the Exchange
    • Setting Domain for Cloud Exchanges
    • Easy SMTP for Cloud Exchanges
    • SEO Settings for Cloud Exchanges
      • SEO Advanced Settings
  • ⚙️Operating Your Exchange
    • Operator Control Panel
      • General
      • Users
      • User Profile
      • Assets
      • Markets
      • Stakes
      • Sessions
      • Plugins Apps
      • Trading Fees & Account Tiers
      • Roles
      • Chat
      • Billing
    • Customize Exchange
      • Browser Tools
        • Enter Edit Mode
        • Operator Controls (Visuals)
        • Console
      • Plugins
      • Forked Repo
    • Fiat Controls
      • Initial Setup
      • Setting Up Fiat On/ Off Ramp
      • Editing Deposit & Withdrawal Fees
      • Users Making Fiat Deposit
      • Users Trading With Fiat
      • User Making Fiat Withdrawal
    • Staking
    • OTC Broker
    • P2P
      • P2P Overview
      • P2P Setup
      • P2P Troubleshooting
      • P2P Vendor Flow
    • Smart Chain Trading
    • Assets & Trading Pairs
      • Add New Assets & Trading Pairs
      • Configure Pair Parameters
    • Set up the SMTP Email
      • Set up SMTP with AWS SES
      • Set up SMTP with Mailgun
      • Set up SMTP with SendGrid
      • Test the SMTP with Gmail
    • Enabling reCAPTCHA
    • Email Customization & Audit
    • DeFi Asset Staking Process
  • 🧩Plugins
    • HollaEx Plugins
      • Announcements
      • Bank
      • AWS SNS (Text Messages - SMS)
      • KYC
      • Automatic KYC
      • Messente
      • Advanced Referral
      • CoinMarketCap
      • Guardarian
    • Install Plugins
    • Developing Plugins
      • Development Walkthrough: Hello-Plugin
        • Initialization
        • Configuration
        • Scripting
        • Web View
        • The Final Product & Installation
      • Advanced
        • Initialization
        • Config
        • Server Script
        • Plugin Libraries
        • Web View
        • Final Plugin Product
        • Advanced Tutorial: Using the user meta field
        • Advanced Tutorial: Adding a new database table column
        • Advanced Tutorial: Creating a new database table
      • Simple Wallet Example
      • Web View Development
        • Overview
        • External dependencies
        • Getting started
        • Basic Tutorial: Hello Exchange Plugin web view
        • Advanced Tutorial: KYC Plugin web views
    • Bank Integration
      • Handling Deposits
      • Handling Withdrawals
  • 👷Developers
    • API Guide
      • API Example Scripts
    • Run Dev Mode
    • Build a New Front-end Interface
  • 🧰On-Premise Operators (Advanced Only)
    • On-Premise Exchange Setup
      • Getting Started — Requirements
      • Installation
      • Server Setup
      • Web Setup
      • Production
    • CLI How-Tos
      • Start Exchange
      • Stop Exchange
      • Upgrade Exchange
        • Build and Apply the Code Changes
      • Get Exchange Logs
      • Get a Backup and Restore
      • Exchange Migration
      • Command List
    • Run Exchange on Kubernetes
    • Troubleshooting Guide
  • 🚀Advanced
    • SEO Optimization
    • Nginx
    • Rate Limits
    • Database
      • Upgrade Database
    • Dependencies
    • Contents Delivery Network
      • Cloudflare CDN for HollaEx
      • CloudFront CDN for HollaEx
    • Load Balancer
      • AWS ELB
      • DigitalOcean LB
    • Customize Kubenretes Ingress
    • Exchange Keys
      • Exchange API Keys Troubleshoot
    • HollaEx on non-Linux
      • HollaEx on Windows
      • HollaEx on macOS
    • The Network Tool Library
      • Accessing the Network Tool Library
      • Functions
        • WebSocket
      • Simple Example: Creating a User and Wallet
      • Getting More Interesting: Orders with the Tools
        • Setup: Using the transferAsset function
        • Creating and Monitoring a Sell Order
        • Settling Fees
      • Private HollaEx Network
    • Docker Content Trust (DCT)
    • Revenue Sharing
  • 📦Releases
    • Release Notes
    • Side Notes
  • ➡️External Links
  • Blogs
  • Forum
  • Videos
  • Twitter X
  • Telegram
  • Interactive Demo
  • Discord Community
  • API Documentation
  • Tools Library Documentation
  • Node Library Documentation
  • Plugins Documentation
Powered by GitBook
On this page
  • General Flags
  • --path
  • --kube
  • --skip
  • hollaex import
  • --path
  • --with_aws_s3
  • hollaex export
  • --path
  • --with_aws_s3
  • hollaex server --setup
  • --restore_from_backup
  • hollaex server --start
  • --ignore_settings
  • hollaex server --stop
  • hollaex server --restart
  • --ignore_settings
  • hollaex prod
  • hollaex server --scale
  • hollaex web --scale
  • hollaex server --build
  • hollaex server --apply
  • --tag
  • --ignore_settings
  • --ignore_compatibility_check
  • hollaex server --terminate
  • hollaex dev
  • --setup
  • --start
  • --stop
  • --restart
  • --terminate
  • hollaex web
  • --setup
  • --start
  • --stop
  • --restart
  • --build
  • --terminate
  • hollaex toolbox
  • --backup
  • --flush_redis
  • --issue_ssl
  • --renew_ssl
  • --update_registry_secret
  • --set_activation_code
  • --set_config
  • --connect_database
  • --connect_redis
  • --connect_influxdb
  • --install_cli
  • --influxdb_migration
  • hollaex cloud
  • --start
  • --stop
  • --restart
  • --upgrade
  • --terminate
  • hollaex status
  • hollaex logs
  • --target
  • --line
  • --export <PATH>
  • hollaex version
  1. On-Premise Operators (Advanced Only)
  2. CLI How-Tos

Command List

PreviousExchange MigrationNextRun Exchange on Kubernetes

Last updated 2 years ago

To see a list of all available commands and flags on your terminal, type and enter the commandhollaex

This is a full list of commands available. If you want to only see the core commands which are mandatorily necessary to operate an exchange, Please check the section.

General Flags

All these flags will work with every command except for hollaex init

--path

  • Path of HollaEx Kit directory. If the --path flag doesn't get specified, the CLI automatically set the current directory of the terminal as the Kit path by default.

--kube

  • Set the HollaEx CLI target server to remote Kubernetes.

--skip

  • Run the script without verifying docker-compose setup.

hollaex import

Import downloaded settings file (.json) from the HollaEx dashboard.

--path

  • Path of your settings files.

--with_aws_s3

  • Import settings files from the remote AWS S3 bucket.

hollaex export

Import downloaded settings file (.json) from the HollaEx dashboard.

--path

  • Path to export the settings files.

--with_aws_s3

  • Export settings files to the remote AWS S3 bucket.

hollaex server --setup

--restore_from_backup

hollaex server --start

--ignore_settings

  • Ignore the local HollaEx Kit settings and not updating it to the server.

hollaex server --stop

hollaex server --restart

--ignore_settings

  • Ignore the local HollaEx Kit settings and not updating it to the server.

hollaex prod

Bring up the exchange to production stage.

hollaex server --scale

Scaling the container (server) numbers.

The scaling is only supported for the stateless servers (api and stream).

hollaex web --scale

Scaling the container (web) numbers.

hollaex server --build

Building the custom HollaEx core image again to includes user custom code like /mail or /plugins on HollaEx Kit.

The server should be restarted to apply the newly build Docker image.

hollaex server --apply

Upgrade the existing exchange to new version.

--tag

--ignore_settings

  • Ignore the local HollaEx Kit settings and not updating it to the server.

--ignore_compatibility_check

  • Ignore the HollaEx Core / HollaEx Kit compatibility checks while on the upgrade procedure. This flag is not recommended for the most of cases.

hollaex server --terminate

hollaex dev

Setup and control a development server for building custom plugins. This command should NOT be run at the machine with the existing exchange running. There could be conflicts that might affect the production server. Please run the dev command at the separated machine (environment).

The development server mounts the local Kit components including /plugins folder or /dbs folder into the containers. The code changes would be synced with the containers in real time.

--setup

  • Setup a development server. This should be not run at the machine with the existing exchange.

--start

  • Start the stopped development server.

--stop

  • Stop the started development server.

--restart

  • Restart the existing development server. The npm packages for /plugins folder would be reinstalled while on the restart.

--terminate

  • Terminate the existing development server.

hollaex web

Run web client for the exchange.

--setup

  • Setup the web client for the first launch.

--start

  • Start the web client which has already been setup.

--stop

  • Stop the web client.

--restart

  • Restart the web client.

--build

  • Rebuild the web client and upgrade.

--terminate

  • TERMINATE the web client.

hollaex toolbox

Toolbox with advanced features which could be helpful for your exchange operations.

--backup

  • Run the full backup with pg_dumpall for the exchange PostgreSQL database.

--flush_redis

  • Run the full flush of Redis stored data. It could be helpful in certain situations If the exchange doesn't work properly.

--issue_ssl

  • Issue SSL certificate on local Nginx by using Let's Encrypt.

--renew_ssl

  • Renew SSL certificate on local Nginx by using Let's Encrypt.

--update_registry_secret

  • Update the existing Docker registry secret at the Kubernetes Cluster.

    • Toolbox command only for users who running exchange at Kubernetes.

--set_activation_code

  • Update the activation code for the exchange to a new one.

    • Could be useful to switch activation code from trial to non-trial one.

--set_config

This command will completely override the existing user database based on the settings files user got at HollaEx Kit. Do not run it without full understanding of this command.

  • Update (override) the database constants based on the user's settings files (configmap and secret files at /settings directory of HollaEx Kit)

--connect_database

  • Open a direct shell connection to the exchange PostgreSQL database by using psql.

    • psql should be installed first on the user's computer before running this command.

--connect_redis

  • Open a direct shell connection to the exchange Redis by using redis-cli.

    • redis-cli should be installed first on the user's computer before running this command.

--connect_influxdb

  • Open a direct shell connection to the exchange InfluxDB by using influx-client.

    • influx-client should be installed first on the user's computer before running this command.

--install_cli

  • Install a specific version of HollaEx CLI.

    • For example, hollaex toolbox --install_cli 1.8.5 would install version 1.8.5 of the CLI.

--influxdb_migration

  • Migrating trade data into InfluxDB to display charts.

    • Running this command is necessary after the exchange environment migration.

hollaex cloud

This command set is to manage an exchange running on the HollaCloud.

--start

Start the stopped exchange on the HollaCloud.

--stop

Stop the running exchange on the HollaCloud.

--restart

Restart the running exchange on the HollaCloud.

--upgrade

Upgrade the running exchange on the HollaCloud.

  • --kit_repo (Optional)

    • Specify the custom HollaEx Kit GitHub repository URL.

  • --kit_branch (Optional)

    • Specify the custom HollaEx Kit GitHub repository branch.

--terminate

Terminate the running exchange on the HollaCloud. This job can't be undone.

hollaex status

Show the exchange server status.

hollaex logs

Show an overview of logs from the exchange server.

--target

  • Specifying a target container.

    • Supported targets: api, stream, engine, db, redis, influxdb

--line

  • Specifying last line(s) to print out.

    • 20 by default (Printing last 20 lines of logs).

--export <PATH>

  • Exporting the logs into a single file.

  • The path to save logs file should be passed with the --export flag.

hollaex version

Print out the installed version number of HollaEx CLI.

Setup the exchange for the first launch.

This command set up your exchange based on the configuration you have already set and will take care of all of the data migration procedures. .

Start the exchange which has already been setup. .

Stop the existing exchange which has already been running. .

Restart the existing exchange. .

Setting up the exchange domain and issuing SSL certificate are possible with this command. .

Version number of HollaEx Core to upgrade. You can always check the latest Core version number at .

Terminate the existing exchange. THIS COMMAND WILL COMPLETELY REMOVE YOUR EXCHANGE ENVIRONMENT. .

🧰
How-tos
Learn more.
Learn more
Learn more
Learn more
Learn more
here
Learn more
Learn more