Outils pour utilisateurs

Outils du site


doc:formations:hebergement:service_non_publie:wisemapping

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
doc:formations:hebergement:service_non_publie:wisemapping [2025/03/20 16:40] jeremiedoc:formations:hebergement:service_non_publie:wisemapping [2025/03/20 17:33] (Version actuelle) jeremie
Ligne 1: Ligne 1:
 ====== Wisemapping (mindmap en ligne) ====== ====== 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 !)
  
 <code> <code>
Ligne 19: Ligne 32:
 cd wisemapping-open-source/ cd wisemapping-open-source/
 mvn -f wise-api/pom.xml package mvn -f wise-api/pom.xml package
-cd wise-api + 
-# Check with+vi ./src/main/resources/application.yml 
 +# and add non default server "port: 8088" at the end of the file 
 +  server: 
 +    port: 8088 
 + 
 + 
 +</code> 
 + 
 +Run the backend: 
 + 
 +<code> 
 +cd ~/wisemapping-open-source/wise-api/
 mvn spring-boot:run mvn spring-boot:run
-<Ctrl-C>+</code> 
 + 
 +Front end: 
 + 
 +<code>
  
 cd ~ cd ~
Ligne 34: Ligne 62:
 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
 source ~/.bashrc source ~/.bashrc
-nvm install <version> +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 install
 +yarn build
  
-curl -o- -L https://yarnpkg.com/install.sh | bash+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
 +</code>
  
-# Npm +And to start the front end:
-curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash+
  
 +<code>
 +cd ~/wisemapping-frontend/packages/webapp
 +yarn start
 </code> </code>
 +
 +Check http://192.168.1.66:3000/c/login
 +
  
doc/formations/hebergement/service_non_publie/wisemapping.1742488840.txt.gz · Dernière modification : 2025/03/20 16:40 de jeremie