webnode
This commit is contained in:
19
webnode/run.sh
Executable file
19
webnode/run.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Run the Node.js web server for the episode viewer
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
# Install dependencies if needed
|
||||
if [ ! -d "node_modules" ]; then
|
||||
echo "Installing dependencies..."
|
||||
npm install
|
||||
fi
|
||||
|
||||
echo "Starting Episode Web Viewer (Node.js)..."
|
||||
echo "Open http://localhost:5000 in your browser"
|
||||
echo "Press Ctrl+C to stop"
|
||||
echo ""
|
||||
|
||||
npm start
|
||||
Reference in New Issue
Block a user