Skip to content

Latest commit

 

History

History
91 lines (76 loc) · 1.43 KB

README.md

File metadata and controls

91 lines (76 loc) · 1.43 KB

File Imports graph maker

An application that parses your code to create an interactive graph of all file imports.

Currently supported languages:

  1. 🐍 Python

Demo

import-graph-generator-demo.mov

How to run the app?

1. Build frontend

  1. cd into graph-renderer-js
     cd graph-renderer-js
  2. Install dependencies
     npm i
     # or
     pnpm i
  3. Build
     pnpm run build

2. Run App

  1. Create python environment
    conda create --name graph-maker python=3.12.3
    # activate
    conda activate graph-maker
  2. Install dependencies
    pip install -r requirements.txt
  3. Run the server
    python main.py
  4. Visit localhost:8000/index.html

Contributing

Setup environment

Backend

  1. Create environment
    conda create --name graph-maker python=3.12.3
    # activate
    conda activate graph-maker
  2. Install dependencies
    pip install -r requirements.txt

Frontend

Go to /graph-renderer-js

cd /graph-renderer-js

then

npm install
# or
pnpm install

Run

Backend

At project root run

python main.py

Frontend

At /graph-renderer-js run

pnpm run dev
# or
npm run dev

Site will be live at localhost:5173