Host Your Own draw.io - Visio style diagram maker - On Windows 🌱
What is Draw.io?
draw.io is a configurable diagramming/whiteboarding visualization application. -https://github.com/jgraph/drawio
Downloads and Pre-requisites
- Download OpenJDK Download
- Download Apache Tomcat Download
- Download the latest draw.io .war file Download
- Extract the OpenJDK .zip archive
- Copy the extracted OpenJDK files to C:\Program Files\OpenJDK
- Click the Start button and search Control Panel
- Navigate to System > Advanced System Settings
- Click the Environment Variables button
- Under System Variables, click New
- In the Variable Name field enter JAVA_HOME
- In the Variable Value field enter the full path to C:\Program Files\OpenJDK
- Click OK to close all the open dialog windows
Installing Tomcat
- Double click the Apache Tomcat installer executable
- Click Next and then I Agree
- On the Choose Components screen, uncheck everything except Core, Service Startup and Native > Click Next
- Set the port to 8000 and Service Name > Click Next
- At the Java Virtual Machine screen, input C:\Program Files\OpenJDK > Click Next
- Verify the install location > Click Install
- After the installation completes click Finish
- Open a web browser and navigate to http://DNSorIP:8000
- An Apache Tomcat splash screen should display with the version of Tomcat that is currently running
Installing draw.io
- Copy the draw.war file downloaded earlier to the Apache Tomcat/webapps directory
- Within a few moments Apache Tomcat should see the .war file and extract it to a /draw sub-directory
- If this doesn't occur automatically, try right clicking the Start button > Run > services.msc and restarting the Apache Tomcat service
- Once the .war file has extracted itself to a directory, open a web browser and navigate to http://DNSorIP:8000/draw
Optional Steps
- To remove the need to navigate to /draw, navigate to the Apache Tomcat/webapps directory in Explorer
- Delete the ROOT directory if it exists
- Rename the draw directory ROOT
- Open a web browser and navigate to http://DNS-or-IP:8000/ to reach Draw.io