Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 1.98 KB

README.md

File metadata and controls

73 lines (54 loc) · 1.98 KB

Cristal

Cristal is a new project to build a new modular wiki UI using modern web technologies, which will support multiple backends (including of course XWiki to store wiki data, and provide back-end services).

Project Setup

pnpm install

Starting the project

Starting on default port 9000.

pnpm run start

Starting on an arbitrary port (e.g., 9001)

HTTP_PORT=9001 pnpm run start

Compile and Minify for Production

pnpm run build

Run Unit Tests with Vitest

pnpm run test

Run Functional Tests with Playwright

pnpm run --filter ./web test:e2e
## Or, if port 9000 is already used
HTTP_PORT=9001 pnpm run --filter ./web test:e2e

After a playwright upgrade, the following commands need to be executed to make sure to have the system dependencies and browsers up to date.

pnpx playwright install
pnpx playwright install-deps

Lint

pnpm lint