Files
ncd-fe/docs/building.md
nicole mikołajczyk 0e9e39096c Update docs, change some dev-related stuff to look better in docs lol
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-01-05 19:34:45 +01:00

841 B

Building pl-fe

Building pl-fe requires Node.js and pnpm 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:

corepack enable pnpm

You can now proceed to fetching pl-fe Git repository, installing dependencies, and building the project:

# 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
pnpm -F pl-api build
# Build the pl-fe project
pnpm -F pl-fe build

The built files will be located in the packages/pl-fe/dist directory. You can serve them using a static web server.