Coder Social home page Coder Social logo

pitivi-dev-docker's Introduction

All of your Pitivi files will live outside the Docker container and be mounted inside it when it runs. So make sure you create a pitivi-dev folder somewhere and inside that folder, use Git to clone your fork of the repository.

Each time your X server runs, you will want to grant access to your docker containers:

export IP=$(ifconfig -l | xargs -n1 ipconfig getifaddr)
/usr/X11/bin/xhost + $IP
/usr/X11/bin/xhost + local:docker

Then you can run the image in a container (be sure to set the path to your pitivi-dev folder):

docker rm pitivi-dev
docker run -it --privileged --name pitivi-dev -e DISPLAY=$IP:0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /path/to/your/pitivi-dev:/pitivi-dev soft261/pitivi-dev:latest

Now you can run source bin/pitivi-env as normal and then run the ptvtests or pitivi commands.

If you need to run gdb within this environment, you can with the following command:

ptvenv gdb python3 -ex "\"run /pitivi-dev/pitivi/bin/pitivi\""

pitivi-dev-docker's People

Contributors

psybers avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.