Skip to content
/ ecu-viz Public

Effortlessly craft engine wiring diagrams for your project using. Save time planning with a user-friendly interface and clear, easy-to-understand visuals. Spend seconds, not hours, bringing your project to life.

Notifications You must be signed in to change notification settings

dzt/ecu-viz

Repository files navigation

ecu-viz

Effortlessly craft engine wiring diagrams for your project using. Save time planning with a user-friendly interface and clear, easy-to-understand visuals. Spend seconds, not hours, bringing your project to life.

Live Example

Preview

Supported Vehicles

Installation

ecu-viz requires the following

Setup:

git clone https://github.com/dzt/ecu-viz.git
cd ecu-viz
npm install

Run After Setup:

npm run server

Remote Server Instructions

# Install required packages
curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install nodejs npm build-essential python3 python3-pip graphviz nginx -y
pip3 install wireviz --break-system-packages
sudo npm install pm2@latest -g

# Enable Firewall
ufw enable
ufw allow ssh
ufw allow http
ufw allow https
ufw allow 'Nginx HTTP'
ufw allow 'Nginx Full'
ufw status # If it is disabled, run the ufw enable command

# Clone Repo
git clone https://github.com/dzt/ecu-viz.git
cd ecu-viz
sudo npm install

# Configure Reverse Proxy via Nginx
sudo vim /etc/nginx/sites-available/default
sudo nginx -t
sudo systemctl restart nginx

# Setup PM2 to run automatically whenever the server restarts
pm2 startup systemd
pm2 start pm2.json
pm2 save

Basic Nginx Config

location / {
    proxy_pass http://127.0.0.1:8080;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection 'upgrade';
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;
}

License

The MIT License (MIT)

Copyright (c) 2024 Peter Soboyejo <http://petersoboyejo.com/>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Effortlessly craft engine wiring diagrams for your project using. Save time planning with a user-friendly interface and clear, easy-to-understand visuals. Spend seconds, not hours, bringing your project to life.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published