@spreading/docuo
v1.1.2
Published
Download the Docuo CLI
Downloads
22
Readme
Installation
Download the Docuo CLI
npm i -g @spreading/docuo
Development
Run the below commands at the root of your Docuo project.
docuo dev
Run this command to preview changes locally.
Custom Ports
Docuo uses port 3000 by default. You can use the --port
flag to customize the port. For example, use this command to run in port 3333:
docuo dev --port 3333
docuo build
Run this command to check if there were any build error. Fix them and commit your changes to remote repository.
docuo clear
Run this command to remove local build template cache.
When you run docuo dev
for the first time, the build template will be cloned and cached locally.
As a result, next time you run docuo dev
will be faster, but the build template is probably out of date.
So if your local website doesn’t align with the production version, please run this command before you run docuo dev
.
docuo instance <--create|delete> <instance_id>
Create or delete doc instance.
docuo version <--create|delete> <version> [--instance <instance_id>]
Create or delete version of the specify instance.