Command Line Interface¶
This document outlines the functionality of the deepforge command line interface (provided after installing deepforge with
npm install -g deepforge).
- Installation Configuration
- Starting DeepForge or Components
- Update or Uninstall DeepForge
- Managing Extensions
Installation configuration can be edited using the
deepforge config command as shown in the following examples:
Printing all the configuration settings:
Printing the value of a configuration setting:
deepforge config worker.dir
Setting a configuration option, such as
worker.dir can be done with:
deepforge config worker.dir /some/new/directory
For more information about the configuration settings, check out the configuration page.
Starting DeepForge Components¶
DeepForge components, such as the server or the workers, can be started with the
deepforge start command. By default, this command will start all the necessary components to run including the server, a mongo database (if applicable) and a worker.
The server can be started by itself using
deepforge start --server
The worker can be started by itself using
deepforge start --worker http://22.214.171.124:7543
where http://126.96.36.199:7543 is the url of the deepforge server.
DeepForge can be updated or uninstalled using
DeepForge can be uninstalled using
DeepForge extensions can be installed and removed using the
deepforge extensions subcommand. Extensions can be added, removed and listed as shown below
deepforge extensions add https://github.com/example/some-extension deepforge extensions remove some-extension deepforge extensions list