Configuring and Installing NodeJs
Our sample projects and report templates can help you learn the basics of working with our products.Install and configure the Node.js runtime required by the Dashboards.PHP server engine.
Code overview. Load or create the dashboard, resolve the target component or option, apply the requested properties, and render the updated result.
Code overview. Load or create the dashboard, resolve the target component or option, apply the requested properties, and render the updated result.
$nodejs = new StiNodeJs();
$result = $nodejs->installNodeJS();
if ($result)
$result = $nodejs->updatePackages();
echo $result ? 'The installation was successful.' : $nodejs->error;StiNodeJs downloads and configures a local Node.js runtime and the Stimulsoft packages needed for server-side dashboard rendering.