mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-09-28 15:21:45 +12:00
1.3 KiB
1.3 KiB
Fantasia Archive (fantasia-archive)
A worldbuilding database manager
Use Yarn 1.22.19 or stuff is gonna bug out.
Make sure you are running this with Node v16.17.0 ("nvm" is great for these older versions)
Playwright tests run from built, live version of FA. Therefore, to run them, you need to localy build the app on your machine first - Both on first time using them and every time something is changed in the source code.
Install Quasar CLI for smoothest experience
Details found here: https://quasar.dev/start/quasar-cli
Ensure that the Yarn global install location is in your PATH after install. (details in article linked above)
yarn global add @quasar/cli
Install the dependencies and set up the project
yarn
Start the app in Quasar development mode (hot-code reloading, error reporting, etc.)
quasar dev -m electron
Build the app for production
quasar build
Testing:
Unit test - with pretty web-UI
test:unit:ui
Unit test - Without any UI, fully in a terminal
test:unit:ci
Component test - via Playwright
test:component
E2E test - via Playwright
test:e2e