Build¶
Compiling Themerr-plex is fairly simple; however it is recommended to use Python 2.7 since the Plex framework is using Python 2.7.
Clone¶
Ensure git is installed and run the following:
git clone --recurse-submodules https://github.com/lizardbyte/themerr-plex.git themerr-plex.bundle cd ./themerr-plex.bundle
Install Requirements¶
- Install Requirements
python -m pip install --upgrade --target=./Contents/Libraries/Shared -r requirements.txt --no-warn-script-location
- Development Requirements
python -m pip install -r requirements-dev.txt
Compile Translations¶
python ./scripts/_locale.py --compile
Build Plist¶
python ./scripts/build_plist.py
npm dependencies¶
Install nodejs and npm. Downloads available here.
- Install npm dependencies.
npm install
- Move modules directory.
- Linux/macOS
mv ./node_modules ./Contents/Resources/web
- Windows
move .\node_modules .\Contents\Resources\web
Remote Build¶
It may be beneficial to build remotely in some cases. This will enable easier building on different operating systems.
- Fork the project
- Activate workflows
- Trigger the CI workflow manually
- Download the artifacts from the workflow run summary