Get your VIMM framework up and running in under 30 minutes with this comprehensive guide.
Before starting, ensure you have the following installed:
# Ubuntu/Debian
sudo apt update
sudo apt install ffmpeg
# macOS (with Homebrew)
brew install ffmpeg
# For NVIDIA GPU support (Ubuntu)
sudo apt install nvidia-cuda-toolkit
Create a directory for your VIMM deployment and clone all three components:
mkdir vimm-deployment
cd vimm-deployment
# Clone VIMM Core (streaming server)
git clone https://github.com/VIMM-TV/vimm-core.git
# Clone VIMM Frontend (web interface)
git clone https://github.com/VIMM-TV/vimm-frontend.git
# Clone VIMM Chat (chat server)
git clone https://github.com/VIMM-TV/vimm-chat.git
Each component requires environment configuration. Create the necessary `.env` files:
cd vimm-core
cp .env.example .env
Edit the `.env` file with your configuration. Key variables include:
# Database
DB_PATH=./data/vimm.db
# Server Configuration
PORT=3000
RTMP_PORT=1935
# Hive Blockchain
HIVE_NODE=https://api.hive.blog
HIVE_ACCOUNT=your-hive-account
HIVE_KEY=your-posting-key
# Stream Settings
STREAM_DIR=./streams
RECORDING_ENABLED=true
cd ../vimm-frontend
cp .env.example .env
# API Configuration
REACT_APP_API_URL=http://localhost:3000
REACT_APP_CHAT_URL=http://localhost:3001
# Frontend Settings
PORT=3002
REACT_APP_SITE_NAME=VIMM
REACT_APP_SITE_URL=http://localhost:3002
cd ../vimm-chat
cp .env.example .env
# Chat Server Configuration
PORT=3001
CORE_API_URL=http://localhost:3000
# WebSocket Settings
WS_PORT=3001
CORS_ORIGIN=http://localhost:3002
Install the required dependencies for each component:
# Install VIMM Core dependencies
cd vimm-core
npm install
# Install VIMM Frontend dependencies
cd ../vimm-frontend
npm install
# Install VIMM Chat dependencies
cd ../vimm-chat
npm install
Initialize the database for VIMM Core:
cd vimm-core
npm run init-db
Start each service in separate terminal windows. The order matters:
cd vimm-core
npm start
cd vimm-chat
npm start
cd vimm-frontend
npm start
Check that all services are running correctly:
Your VIMM framework is now running! You can access the core interface at http://localhost:3000 to get a stream key and start streaming.
rtmp://localhost:1935/live/YOUR_STREAM_KEY
For development, you can use npm run dev
instead of npm start
for hot reloading.