All guidesInstallation
Prepare your installation
Extract the release, create the database, set up PDF rendering and create the private configuration.
- Extract the Core release package from your CZ App Studio account into a private directory on the server, for example
/srv/open-core-hr. This is the application folder: it containsartisan,public,vendorand an emptyModulesfolder. Run every application command from it. - Create a dedicated database and a user restricted to that database.
- Point an application hostname, such as
hr.example.com, to the application server. - Configure HTTPS and set the web document root to the full path of the application's
publicfolder. - Arrange SMTP delivery, scheduled tasks and worker services.
Serve only public. Do not expose the application folder itself, .env, source, backups or private uploads through the web server.
What the package includes
The release package is ready to run. It includes the PHP dependencies (vendor) and the compiled screens (public/build) for Core and for every add-on in the store, so a first installation needs neither composer install nor npm run build.
It does not include the add-ons themselves or any Node packages. Add-ons are installed from Settings → Modules after you activate your licence; Node packages are installed in the next step.
The package also contains INSTALL-WITH-AI.md, a checklist an AI coding agent can follow for these same steps; see Install with an AI agent.
Set up PDF rendering
Letters, payslips and PDF exports are produced on the application server by Node.js and Chromium. Install the Node packages the renderer uses, then its browser:
npm ci --omit=dev
npx playwright install --with-deps chromium
Run the browser installation for the account that runs PHP and queue workers, or set PDF_CHROMIUM_BINARY to an installed Chromium executable; the Node packages are needed either way. Set PDF_NODE_BINARY if Node is not on the service account's PATH. Install fonts for the languages you enable. Keep Chromium sandboxing enabled and run application services as a non-root user.
A Core update leaves node_modules as it is, so run both commands again after each Core update.
When to rebuild the screens
Rebuilding is not part of a normal installation, and is not needed after installing or updating a store add-on. Rebuild only when you changed the web screens, added a module of your own that has screens, or php artisan doctor reports Compiled assets as missing:
npm ci
npm run build
Do not deploy a development public/hot file.
Installing from your own source copy
If you deploy from your own version-controlled copy instead of the release package, install the dependencies and build the screens yourself:
composer install --no-dev --prefer-dist --optimize-autoloader
composer check-platform-reqs --no-dev
npm ci
npm run build
npx playwright install --with-deps chromium
Use the supplied lockfiles. An installation kept in a git checkout cannot use the built-in updater; see Backups and updates.
Create private configuration
On a new installation only:
cp .env.example .env
php artisan key:generate
php artisan jwt:secret
Continue with configuration. Do not overwrite an existing .env or regenerate encryption/authentication keys during updates.