Installation

with Anaconda

  1. Install Anaconda or Miniconda

    Visit https://www.anaconda.com/products/individual for instructions

  2. Install PIP

    conda install pip
    
  3. Clone Repo and install

    git clone https://github.com/pistarlab/pistarlab
    cd pistarlab
    pip install -e .
    
  4. Build Redis

    bash ./install_redis.sh_
    
  5. Install node for UI and IDE

    bash ./install_node.sh
    bash ./build_ui.sh
    bash ./build_ide.sh #optional
    
  6. Install additional dependencies
    • XVFB to render without display (No MS Windows Support)

    • ffmpeg for video processing

    sudo apt-get install -y xvfb ffmpeg
    

with Docker

  1. Install Docker:

    Visit: https://docs.docker.com/engine/install/

  2. Clone Repo

    git clone https://github.com/pistarlab/pistarlab
    cd pistarlab
    
  3. Build Docker Image

    ./build_docker.sh
    

on Windows [Experimental]

NOTE: It is recommended to use the Docker Setup Instead.

Limitation: no headless mode for many environments so rendering will open a window

  1. Install Miniconda

  2. Install GitBash

  3. Follow Ubuntu Instructions

Troubleshooting

Building Theia IDE on Windows. * https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md#building-on-windows

Install Scoop

  • https://github.com/lukesampson/scoop#installation

    Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
    
    # or shorter
    iwr -useb get.scoop.sh | iex
    # IF SCOOP doesn't get added to path
    $env:Path += ";C:\Users\${USER}\scoop\shims"