This this git book for documentation.
npm install
Clone the repo and install node modules:
git clone https://github.com/Kitware/UPennContrast.git
cd UPennContrast
npm install
Compile C++ code to wasm with this command:
npm run emscripten-build
This will run the command npm run emscripten-build:release
.
You can also run npm run emscripten-build:debug
to build with debug symbols.
Start docker images and run the server:
docker-compose up -d
npm run dev
To setup an environment for native C++ development for ITK, see itk/README.md
.
For technical documentation about tools, see TOOLS.md
.
By default, a admin user will be created with the name admin
and the password password
. To use a different admin user, register a new user, log in as the admin
user and make the new user an admin, then delete the original admin
user.
A default assetstore is also created.
To compile for production, run this command:
npm run build
It will also produce a stats.html
file at the root of the project.
This file is generated by the rollup-plugin-visualizer
.
You can change the generated file by playing with the options of the plugin in vite.config.ts
(see the github page of the plugin).
If you want to preview the production build:
npm run serve
npm run lint:fix
npm run tsc