Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.05 KB

README.md

File metadata and controls

55 lines (35 loc) · 1.05 KB

JacoDB library site.

Development

Install nvm. Particular node version is written in .nvmrc file.

yarn
yarn develop

This error means that yarn clean should be run:

There was an error compiling the html.js component for the development server.
See our docs page on debugging HTML builds for help https://gatsby.dev/debug-html TypeError: Cannot read properties of undefined (reading 'href')

Build site

Frontend

yarn build

Generate JacoDB docs

execute in command line:

generate-dokka-html.bat

This script will checkout develop branch of https://github.com/UnitTestBot/jacodb.git into jacodb-temp folder. Then run dokkaHtmlMultiModule task for generating docs and put them into docs folder.

All generated docs are under source control. So do not forget to push them.

Build whole site into jar

execute in command line:

./gradlew bootJar

then you could run jar by

java -jar backend/build/libs/jacodb-site.jar

And proceed to http://localhost:8080