Welcome
Getting Started
How to Guides
Application vs Blocklet
Create Blocklet
Compose Blocklets
Develop Blocklet
User and Passport
Communicate with DID Wallet
Blocklet Storage
Using Blocklet Preferences
Build blocklet for profit [deprecated]
Bundle your blocklet
Manage Blocklet Versions
Publish your blocklet to the world
Deploy your blocklet
Read/Write blockchain in blocklet
Operation and maintenance your blocklet
Reference Guides
Conceptual Guides
Frequently Asked Questions
Blocklet Server CLI
Blocklet Server CLI provides blocklet server
command-line tool for controlling and administering Blocklet Server in local machine. Use the following syntax to run blocklet server
commands from your terminal:
blocklet server [options] [command]
You can use the -h
or --help
to determine the full list of supported commands.
Version#
$ blocklet -V
x.x.x
Init#
Init a Blocklet Server
$ blocklet server init
blocklet server vx.x.x
? Are you sure to initialize a Blocklet Server instance in the current directory(/path/to/xxx) (y/N)
✔ Blocklet Server configuration is successfully generated /path/to/xxx/.blocklet-server/config.yml
ℹ blocklet server start
Start#
Start a Blocklet Server
$ cd <your blocklet server folder>
$ blocklet server start
Stop#
Stop Blocklet Server and blocklets
$ cd <your blocklet server folder>
$ blocklet server stop
Status#
Show Blocklet Server and blocklet status
$ cd <your blocklet server folder>
$ blocklet server status
Logs#
Show Blocklet Server and blocklet log files
$ cd <your blocklet server folder>
$ blocklet server logs
Info#
Get environment information for debugging and issue reporting
$ cd <your blocklet server folder>
$ blocklet server info
Copy info to clipboard
$ cd <your blocklet server folder>
$ blocklet server info --clipboard
Upgrade#
Self-Upgrade Blocklet Server
$ blocklet server upgrade