2022-01-05 15:02:06 +01:00
# Overview
2011-01-24 16:23:01 +01:00
2022-01-23 09:56:30 +01:00
Wise Mapping is the web mind mapping open source tool that leverages the power of Mind Maps mixing open standards technologies such as SVG and React.
WiseMapping is based on the same code product supporting [http://www.wisemapping.com].
2011-01-24 16:23:01 +01:00
2014-01-25 19:43:46 +01:00
## Compiling and Running
2012-03-19 11:43:40 +01:00
2014-01-25 19:43:46 +01:00
### Prerequisites
2014-01-09 00:28:21 +01:00
The following products must be installed:
2022-01-11 01:59:52 +01:00
* OpenJDK 11 or higher
2018-09-14 22:45:03 +02:00
* Maven 3.x or higher ([http://maven.apache.org/])
2022-02-23 16:39:06 +01:00
* npm 6 or higher ([https://www.npmjs.com/package/npm?activeTab=versions])
2014-01-09 00:28:21 +01:00
2014-01-25 19:43:46 +01:00
### Compiling
2014-01-09 00:28:21 +01:00
WiseMapping uses Maven as packaging and project management. It's composed of 5 maven sub-modules:
2022-01-05 06:14:14 +01:00
* wise-ui: React font-end fetcher
2014-01-09 00:28:21 +01:00
* wise-webapp: J2EE web application
The full compilation of the project can be performed executing within < project-dir > :
2021-12-25 03:03:23 +01:00
`mvn clean install`
2014-01-09 00:28:21 +01:00
2021-12-25 03:03:23 +01:00
Once this command is executed, the file < project-dir > /wise-webapp/target/wisemapping*.war will be generated.
2014-01-09 00:28:21 +01:00
2021-12-25 03:03:23 +01:00
### Local Development
2014-01-09 00:28:21 +01:00
The previously generated war can be deployed locally executing within the directory < project-dir > /wise-webapp the following command:
`cd wise-webapp;mvn jetty:run-war`
2021-12-25 03:03:23 +01:00
This will start the application on the URL: [http://localhost:8080/] using file based database.
2014-01-09 00:28:21 +01:00
User: test@wisemapping.org
Password: test
2022-01-11 01:59:52 +01:00
### Local Development + UI Integration
2021-12-25 03:03:23 +01:00
In order to reduce the life-cycle to develop UI backend testing, you can do the following hack:
2022-01-11 02:01:40 +01:00
* Clone [wisemapping-open-source ](https://bitbucket.org/wisemapping/wisemapping-open-source/ ) and [wisemapping-frontend ](https://bitbucket.org/wisemapping/wisemapping-frontend/ ) at the same top level directory
* Compile `wisemapping-frontend` . Details for compilation can be found in the `wisemapping-frontend` readme.
* Compile `wisemapping-open-source`
2022-01-11 01:59:52 +01:00
A quick and dirty solution to share changes in the UI is to manually compile the dist. This will make the loader file available without the need to publish:
2022-04-14 00:16:51 +02:00
`yarn --cwd wisemapping-frontend build;cp -r wisemapping-frontend/packages/mindplot/dist/* wisemapping-open-source/wise-ui/target/wisemapping-mindplot/package/dist;cp -r wisemapping-frontend/packages/webapp/dist/* wisemapping-open-source/wise-ui/target/wisemapping-webapp/package/dist`
2022-01-11 01:59:52 +01:00
2021-12-25 03:03:23 +01:00
### Compiling and running with docker-compose
2022-04-14 00:16:51 +02:00
Check out the [docker section ](./docker/README. )
2021-06-10 02:13:26 +02:00
2022-07-30 01:19:14 +02:00
### Test reports
Individual test result reports can be found in wisemapping-open-source/wise-webapp/target/failsafe-reports/index.html
Test coverage report of unit and integration test can be found in wisemapping-open-source/wise-webapp/target/site/jacoco and wisemapping-open-source/wise-webapp/target/site/jacoco-it folders. Coverage report is generated in the verify phase of [lifecicle ](https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#introduction-to-the-build-lifecyclea ) using [jacoco ](https://www.jacoco.org/jacoco/trunk/doc/maven.html )
2014-01-25 19:39:50 +01:00
## Members
2014-01-17 00:09:22 +01:00
2014-01-25 19:43:46 +01:00
### Founders
2014-01-17 00:09:22 +01:00
2022-01-11 02:04:35 +01:00
* Paulo Veiga < pveiga @ wisemapping . com >
* Pablo Luna < pablo @ wisemapping . com >
2014-01-19 22:21:18 +01:00
2014-01-25 19:43:46 +01:00
### Past Individual Contributors
2022-04-14 00:16:51 +02:00
* Ignacio Manzano
* Ezequiel Bergamaschi < ezequielbergamaschi @ gmail . com >
2014-01-09 00:28:21 +01:00
2011-01-24 16:23:01 +01:00
## License
The source code is Licensed under the WiseMapping Open License, Version 1.0 (the “License”);
2014-01-09 00:33:00 +01:00
You may obtain a copy of the License at: [https://wisemapping.atlassian.net/wiki/display/WS/License]
2018-09-16 21:29:19 +02:00