====== Wisemapping (mindmap en ligne) ======
https://github.com/wisemapping/wisemapping-open-source/
Via docker:
adduser wisemapping
usermod -aG docker wisemapping
su - wisemapping
docker run -it --rm -p 8088:8080 wisemapping/wisemapping:latest
Sans docker via npm/nodejs (+4GB !)
apt install maven
adduser wisemapping
su - wisemapping
wget https://download.oracle.com/java/24/latest/jdk-24_linux-x64_bin.tar.gz
tar xvzf jdk-24_linux-x64_bin.tar.gz
cat >> ~/.bashrc
export JAVA_HOME=/home/wisemapping/jdk-24
export PATH="$JAVA_HOME/bin:$PATH"
git clone https://github.com/wisemapping/wisemapping-open-source.git
cd wisemapping-open-source/
mvn -f wise-api/pom.xml package
vi ./src/main/resources/application.yml
# and add non default server "port: 8088" at the end of the file
server:
port: 8088
Run the backend:
cd ~/wisemapping-open-source/wise-api/
mvn spring-boot:run
Front end:
cd ~
git clone https://github.com/wisemapping/wisemapping-frontend
cat >> ~/.bashrc
export NODE_OPTIONS=--openssl-legacy-provider
export APP_CONFIG_TYPE="file:dev"
# Install NVM as a user
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc
nvm install v20.19.0 # installs nodejs
npm install -g npm@11.2.0
npm install -g yarn
# If an error happens, try vi package.json and change
"workspaces": [
"packages/*" # change to "*"
],
cd ~/wisemapping-frontend/
yarn install
yarn build
npm install -g webpack
npm install -g webpack-cli
# Fix the backend port in ~/wisemapping-frontend/packages/webapp/webpack.dev.js from 8080 to 8088
And to start the front end:
cd ~/wisemapping-frontend/packages/webapp
yarn start
Check http://192.168.1.66:3000/c/login