2022-01-23 16:56:30 +08:00
|
|
|
# What is WiseMapping ?
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08: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].
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
# How to use this image.
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
There are multiple ways to run WiseMapping depending on your database configuration preference
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
## Option 1: Running HSQL within the image storage
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
> docker run -it --rm -p 8888:8080 wisemapping
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
Then, open your browser at `http://localhost:8888`. A default user is available for testing `test@wisemapping.com` and password `test`.
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
***This option, all changes will be lost once the image is stopped. Use it for testing only ***
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
## Option 2: Running HSQL with mounted directory
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
> docker run -it --rm -p 8888:8080 wisemapping
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
## Option 3: External MySQL/PostgreSQL
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
### Setup database
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
### Configure application properties
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
The next step is configure the WiseMapping for the database and credentials.
|
|
|
|
Download `app.properties` configuration file and configure the required sections:
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
`curl https://bitbucket.org/wisemapping/wisemapping-open-source/raw/644b7078d790220c7844b732a83d45495f11d64e/wise-webapp/src/main/webapp/WEB-INF/app.properties`
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
### Starting the application
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
Run the application mounting your previously configured `app.properties`
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
> docker run --mount type=bind,source=<your-file-path>/app.properties,target=/usr/local/tomcat/webapps/ROOT/classes/app.properties -it --rm -p 8888:8080 wisemapping
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
# Advanced configuration
|
2021-06-10 08:13:26 +08:00
|
|
|
|
2022-01-23 16:56:30 +08:00
|
|
|
> docker run --mount type=bind,source=/Users/veigap/repos/wisemapping-open-source/distribution/app.properties,target=/usr/local/tomcat/webapps/ROOT/classes/app.properties -it --rm -p 8888:8080 wisemapping
|