Command List
To see a list of all available commands and flags on your terminal, type and enter the command
hollaex
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.
All these flags will work with every command except for
hollaex init
- 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.
- Set the HollaEx CLI target server to remote Kubernetes.
- Run the script without verifying
docker-compose
setup.
Import downloaded settings file (.json) from the HollaEx dashboard.
- Path of your settings files.
- Import settings files from the remote AWS S3 bucket.
Import downloaded settings file (.json) from the HollaEx dashboard.
- Path to export the settings files.
- Export settings files to the remote AWS S3 bucket.
- 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. Learn more.
- Ignore the local HollaEx Kit settings and not updating it to the server.
- Ignore the local HollaEx Kit settings and not updating it to the server.
Bring up the exchange to production stage.
Setting up the exchange domain and issuing SSL certificate are possible with this command. Learn more.
Scaling the container (server) numbers.
The scaling is only supported for the stateless servers (
api
and stream
).Scaling the container (web) numbers.
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.
Upgrade the existing exchange to new version.
- Version number of HollaEx Core to upgrade. You can always check the latest Core version number at here.
- Ignore the local HollaEx Kit settings and not updating it to the server.
- Ignore the HollaEx Core / HollaEx Kit compatibility checks while on the upgrade procedure. This flag is not recommended for the most of cases.
Terminate the existing exchange. THIS COMMAND WILL COMPLETELY REMOVE YOUR EXCHANGE ENVIRONMENT. Learn more.
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 a development server. This should be not run at the machine with the existing exchange.
- Start the stopped development server.
- Stop the started development server.
- Restart the existing development server. The
npm
packages for/plugins
folder would be reinstalled while on the restart.
- Terminate the existing development server.
Run web client for the exchange.
- Setup the web client for the first launch.
- Start the web client which has already been setup.
- Stop the web client.
- Restart the web client.
- Rebuild the web client and upgrade.
- TERMINATE the web client.
Toolbox with advanced features which could be helpful for your exchange operations.
- Run the full backup with
pg_dumpall
for the exchange PostgreSQL database.
- Run the full flush of Redis stored data. It could be helpful in certain situations If the exchange doesn't work properly.
- Issue SSL certificate on local Nginx by using Let's Encrypt.
- Renew SSL certificate on local Nginx by using Let's Encrypt.
- Update the existing Docker registry secret at the Kubernetes Cluster.
- Toolbox command only for users who running exchange at Kubernetes.
- Update the activation code for the exchange to a new one.
- Could be useful to switch activation code from trial to non-trial one.
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
andsecret
files at/settings
directory of HollaEx Kit)
- 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.
- 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.
- 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 a specific version of HollaEx CLI.
- For example,
hollaex toolbox --install_cli 1.8.5
would install version 1.8.5 of the CLI.
- Migrating trade data into InfluxDB to display charts.
- Running this command is necessary after the exchange environment migration.
This command set is to manage an exchange running on the HollaCloud.
Start the stopped exchange on the HollaCloud.
Stop the running exchange on the HollaCloud.
Restart the running exchange on the HollaCloud.
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 the running exchange on the HollaCloud. This job can't be undone.
Show the exchange server status.
Show an overview of logs from the exchange server.
- Specifying a target container.
- Supported targets:
api
,stream
,engine
,db
,redis
,influxdb
- Specifying last line(s) to print out.
20
by default (Printing last 20 lines of logs).
- Exporting the logs into a single file.
- The path to save logs file should be passed with the
--export
flag.
Print out the installed version number of HollaEx CLI.
Last modified 6mo ago