Static vus dynamic publishing
Static publishing
The recommended practice is to preview before real publishing. To catch all kinds of errors in the data or templates before the content riches the visitors.
Publishing may be done by content editors either using the web GUI or from command line.
bin/admin/show-component-tree # show component names and ids bin/admin/publish-component --recursive Center 1 # publish all components bin/admin/publish-component --preview Article 2001 # preview one component bin/admin/publish-component 2001,3001 # publish individual components
Dynamic publishing
A more risky method is to make all data available in real time. This may be done using provided dynapub.cgi. The first "page_names" entry of each component is considered its main page and main static link.