MovingLinesMovingLines

Getting Started

Set up and create your first animation with MovingLines

Getting Started

This guide will help you set up MovingLines and create your first animation.

Prerequisites

Before you begin, ensure you have:

  • Node.js 18+ installed
  • Python 3.10+ installed
  • FFmpeg installed (for Manim rendering)
  • Docker (optional, for containerized deployment)

Installation

git clone https://github.com/piyushdhoka/movinglines.git
cd movinglines
cp env.example .env
# Edit .env with your API keys
docker-compose up --build

Manual Setup

1. Clone the Repository

git clone https://github.com/piyushdhoka/movinglines.git
cd movinglines

2. Set Up Backend

cd backend
python -m venv venv
source venv/bin/activate  # Windows: .\venv\Scripts\activate
pip install -r requirements.txt
cp .env.example .env
python -m scripts.seed_pinecone

3. Set Up Frontend

cd frontend
bun install
cp .env.example .env.local
bun run db:migrate

4. Start Development Servers

Backend:

python -m uvicorn app.main:app --reload --port 8000

Frontend:

bun run dev

Creating Your First Animation

  1. Navigate to http://localhost:3000
  2. Sign up or log in
  3. Enter a prompt like: "Create a visualization of the Pythagorean theorem"
  4. Select your quality settings
  5. Click Generate!

Next Steps

On this page