# CLI References
- comonway create
- comonway use
- comonway configure
- comonway install
- comonway build
- comonway deploy
- comonway update
- comonway remove
# New workspace
Create a new workspace
$ bash comonway create <hostname>
# Select current workspace
Select an existing workspace
$ bash comonway use <hostname>
# Configure current workspace
Configure current workspace
$ bash comonway configure
# Install workspace on host
Install Comonway on current host
$ bash comonway install
# Build services
Some services need to be build before deploy task.
$ bash comonway build <servicename>
# Deploy
Deploy services to current host.
$ bash comonway deploy <hostname> [<stack:all> [<application>]]
where:
- stack: all or one available stack name
- application: application name of an available stack
After finished, see [DNS] to configure private networks.
# Update
comonway stack can be update services on host.
$ bash comonway update <hostname> <stackname>
# Remove
Remove service on docker
$ bash comonway remove <hostname>