Command List
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 How-tos section.
General Flags
All these flags will work with every command except for hollaex init
--path
--path Path of HollaEx Kit directory. If the
--pathflag doesn't get specified, the CLI automatically set the current directory of the terminal as the Kit path by default.
--kube
--kubeSet the HollaEx CLI target server to remote Kubernetes.
--skip
--skipRun the script without verifying
docker-composesetup.
hollaex import
hollaex importImport downloaded settings file (.json) from the HollaEx dashboard.
--path
--pathPath of your settings files.
--with_aws_s3
--with_aws_s3Import settings files from the remote AWS S3 bucket.
hollaex export
hollaex exportImport downloaded settings file (.json) from the HollaEx dashboard.
--path
--pathPath to export the settings files.
--with_aws_s3
--with_aws_s3Export settings files to the remote AWS S3 bucket.
hollaex server --setup
hollaex server --setupSetup the exchange for the first launch. Learn more.
--restore_from_backup
--restore_from_backupThis command set up your exchange based on the configuration you have already set and will take care of all of the data migration procedures. Learn more.
hollaex server --start
hollaex server --startStart the exchange which has already been setup. Learn more.
--ignore_settings
--ignore_settingsIgnore the local HollaEx Kit settings and not updating it to the server.
hollaex server --stop
hollaex server --stopStop the existing exchange which has already been running. Learn more.
hollaex server --restart
hollaex server --restartRestart the existing exchange. Learn more.
--ignore_settings
--ignore_settingsIgnore the local HollaEx Kit settings and not updating it to the server.
hollaex prod
hollaex prodBring up the exchange to production stage.
Setting up the exchange domain and issuing SSL certificate are possible with this command. Learn more.
hollaex server --scale
hollaex server --scaleScaling the container (server) numbers.
The scaling is only supported for the stateless servers (api and stream).
hollaex web --scale
hollaex web --scaleScaling the container (web) numbers.
hollaex server --build
hollaex server --buildBuilding 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
hollaex server --applyUpgrade the existing exchange to new version.
--tag
--tagVersion number of HollaEx Core to upgrade. You can always check the latest Core version number at here.
--ignore_settings
--ignore_settingsIgnore the local HollaEx Kit settings and not updating it to the server.
--ignore_compatibility_check
--ignore_compatibility_checkIgnore 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 server --terminateTerminate the existing exchange. THIS COMMAND WILL COMPLETELY REMOVE YOUR EXCHANGE ENVIRONMENT. Learn more.
hollaex dev
hollaex devSetup 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
--setupSetup a development server. This should be not run at the machine with the existing exchange.
--start
--startStart the stopped development server.
--stop
--stopStop the started development server.
--restart
--restartRestart the existing development server. The
npmpackages for/pluginsfolder would be reinstalled while on the restart.
--terminate
--terminateTerminate the existing development server.
hollaex web
hollaex webRun web client for the exchange.
--setup
--setupSetup the web client for the first launch.
--start
--startStart the web client which has already been setup.
--stop
--stopStop the web client.
--restart
--restartRestart the web client.
--build
--buildRebuild the web client and upgrade.
--terminate
--terminateTERMINATE the web client.
hollaex toolbox
hollaex toolboxToolbox with advanced features which could be helpful for your exchange operations.
--backup
--backupRun the full backup with
pg_dumpallfor the exchange PostgreSQL database.
--flush_redis
--flush_redisRun the full flush of Redis stored data. It could be helpful in certain situations If the exchange doesn't work properly.
--issue_ssl
--issue_sslIssue SSL certificate on local Nginx by using Let's Encrypt.
--renew_ssl
--renew_sslRenew SSL certificate on local Nginx by using Let's Encrypt.
--update_registry_secret
--update_registry_secretUpdate the existing Docker registry secret at the Kubernetes Cluster.
Toolbox command only for users who running exchange at Kubernetes.
--set_activation_code
--set_activation_codeUpdate 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
--set_configThis 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 (
configmapandsecretfiles at/settingsdirectory of HollaEx Kit)
--connect_database
--connect_databaseOpen a direct shell connection to the exchange PostgreSQL database by using
psql.psqlshould be installed first on the user's computer before running this command.
--connect_redis
--connect_redisOpen a direct shell connection to the exchange Redis by using
redis-cli.redis-clishould be installed first on the user's computer before running this command.
--connect_influxdb
--connect_influxdbOpen a direct shell connection to the exchange InfluxDB by using
influx-client.influx-clientshould be installed first on the user's computer before running this command.
--install_cli
--install_cliInstall a specific version of HollaEx CLI.
For example,
hollaex toolbox --install_cli 1.8.5would install version 1.8.5 of the CLI.
--influxdb_migration
--influxdb_migrationMigrating trade data into InfluxDB to display charts.
Running this command is necessary after the exchange environment migration.
hollaex cloud
hollaex cloudThis command set is to manage an exchange running on the HollaCloud.
--start
--startStart the stopped exchange on the HollaCloud.
--stop
--stopStop the running exchange on the HollaCloud.
--restart
--restartRestart the running exchange on the HollaCloud.
--upgrade
--upgradeUpgrade 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
--terminateTerminate the running exchange on the HollaCloud. This job can't be undone.
hollaex status
hollaex statusShow the exchange server status.
hollaex logs
hollaex logsShow an overview of logs from the exchange server.
--target
--targetSpecifying a target container.
Supported targets:
api,stream,engine,db,redis,influxdb
--line
--lineSpecifying last line(s) to print out.
20by default (Printing last 20 lines of logs).
--export <PATH>
--export <PATH>Exporting the logs into a single file.
The path to save logs file should be passed with the
--exportflag.
hollaex version
hollaex versionPrint out the installed version number of HollaEx CLI.
Last updated