From c47ff3b40973ee072c003a4ac0f200d0545f1fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Mon, 5 Jan 2026 16:23:54 +0100 Subject: [PATCH] pl-fe: update building page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- docs/building.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/docs/building.md b/docs/building.md index 8c35078a9..087e03c88 100644 --- a/docs/building.md +++ b/docs/building.md @@ -1 +1,27 @@ -# Building pl-fe \ No newline at end of file +# Building pl-fe + +Building pl-fe requires [Node.js](https://nodejs.org/) and [pnpm](https://pnpm.io/) package manager to be installed. Since Node v16.13, Node.js comes with `corepack` pre-installed, which can be used to manage package managers like `pnpm`. + +To enable `pnpm` using `corepack`, run the following command: + +```bash +corepack enable pnpm +``` + +You can now proceed to fetching pl-fe Git repository, installing dependencies, and building the project: + +```bash +# Clone the pl-fe repository +git clone https://codeberg.org/mkljczk/pl-fe.git +cd pl-fe +# Install dependencies +pnpm install +# Build the pl-api dependency +cd packages/pl-api +pnpm build +cd ../pl-fe +# Build the pl-fe project +pnpm build +``` + +The built files will be located in the `packages/pl-fe/dist` directory. You can [serve them using a static web server](./installing/standalone.md). \ No newline at end of file