Skip to content

Commit

Permalink
Upated to new version of the dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
bharatkumarkale committed Oct 29, 2024
1 parent d20dd11 commit c19ffe3
Show file tree
Hide file tree
Showing 857 changed files with 101,200 additions and 937 deletions.
Binary file added .DS_Store
Binary file not shown.
46 changes: 40 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,42 @@
# InferenceGraphPlotter
# LLM Inference Bench Dashboard

## How to run?
1. Clone the repo and cd into the repo
2. Spin up a simple webserver to serve the files. One way is by using python.
- for python 2: python -m SimpleHTTPServer
- for python 3: python -m http.server
3. Open a webbrowser and go to http://localhost:8000
### Step 1: Install Node.js and npm
1. Download Node.js: Go to Node.js official website and download the LTS version (recommended for most apps).
2. Verify Installation: Open a terminal or command prompt and type the following
```
node -v
npm -v
```
If installed correctly, these commands will display the Node.js and npm versions.

### Step 2: Clone the App
```
git clone <repository-url>
cd <app-directory>
```
### Step 3: Install Dependencies
1. Inside the app directory, run the following to install the necessary packages:
```
npm install
```
2. This reads the package.json file and installs all dependencies listed there.
### Step 4: Run the Application
Common commands to start the app:

```
npm start
```
Or
```
node index.js
```

### Step 5: Verify the App is Running
1. Open a browser and navigate to:
```
http://localhost:3000
```
(Replace the port if the app uses a different one.)

2. You should see the app running successfully.
90 changes: 0 additions & 90 deletions index.html

This file was deleted.

16 changes: 16 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const express = require('express');
const app = express();
const PORT = process.env.PORT || 3000;

// Serve static files from the 'public' folder
app.use(express.static('public'));

// Define routes
app.get('/', (req, res) => {
res.sendFile(__dirname + '/public/index.html');
});

// Start the server
app.listen(PORT, () => {
console.log(`Server is running on http://localhost:${PORT}`);
});
Binary file added node_modules/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions node_modules/.bin/marked

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/mime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/nodemon

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/nodetouch

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/semver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c19ffe3

Please sign in to comment.