Config File

Create the enterprise config file and set the path where Znai will store uploaded documentation:

Run In Server Mode

Run Znai in server mode in the directory with the config file: znai serve --port=<port>

Upload Documentation

Set environment variable to the full url of the server, e.g.: Now you can run command to build and upload a documentation: ZNAI_SERVER_URL export ZNAI_SERVER_URL=http://localhost:7070 upload znai --deploy=/path/where/docresources/generate --doc-id=my-doc-id --upload