This repository contains the source code of the ODF 4 Sizing Tool. The tool is hosted on https://sizer.ocs.ninja and pushes to main automatically update this site.
The requirements are managed with npm. If you do not have npm yet, please install it on your platform.
Afterwards all dependencies can be installed via npm install
from within the root of this repository.
If you want to build the code in a one-off way, you can do so with npm run build
. This will create the build folder with the static site.
To develop it is handy to use the npm run dev
feature that will automatically rebuild the code when there are changes to the source code.
Running npm run dev
will spawn a server on http://localhost:9001 that you can visit to see the site with your code changes. When the code is rebuild, the browser will automatically refresh the site for you.