Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.73 KB

File metadata and controls

63 lines (41 loc) · 1.73 KB

dev-assets

This directory contains various assets used in the development of the project.

How to develop in an isolated environment

Refer to the following instructions to set up an isolated development environment:

Prerequisites

Install Docker on your machine.

Process

Refer to the steps below to set up and access the isolated development environment:

  1. Open a terminal and navigate to the root directory of the project.

  2. Change the working directory to dev-assets:

    cd dev-assets
  3. Run the following command to create the development environment container:

    docker compose up -d
  4. Run the following command to access the container's shell:

    docker container exec -it avisynthplus-dev bash --login
  5. If you like to use a local Ubuntu archive mirror, run the following command:

    sed -i --regexp-extended 's@archive\.@CCTLD\.archive\.@' /etc/apt/sources.list.d/ubuntu.sources

    Replace CCTLD with your country's top-level domain (e.g., us, de, fr, etc.).

  6. Run the following command to refresh the package index inside the container:

    apt update
  7. Run the following command to install the dependencies required for building the build dependencies package:

    apt install -y equivs
  8. Run the following commands to build and install the build dependencies metapackage:

    cd /project/dev-assets
    equivs-build dev-assets/avisynthplus.ctl
    apt install ./avisynthplus-build-deps_1.0_all.deb

    You can now proceed with the regular building instructions in the main project README, the project files are mounted at /project.