Sign In
Sign In

You can find the step-by-step deployment guide here.

By default, the following commands are executed to build a Preact project:

DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
  curl \
  {% if system_dependencies %}{{ system_dependencies | join(' ') }}{% endif %} \
  && rm -rf /var/lib/apt/lists/*

Here, system_dependencies refers to the system packages configured in the control panel.

After that, project dependencies are installed using the package manager detected in the repository (yarn, pnpm, or npm):

yarn install
pnpm install
npm install
Was this page helpful?
Updated on 15 May 2024

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support