Once you have tested your custom application locally, you can deploy it to the Power Platform controller. The application should be placed in theDocumentation Index
Fetch the complete documentation index at: https://docs.directenergypartners.com/llms.txt
Use this file to discover all available pages before exploring further.
/opt/plcnext/appshome/data folder on the controller. There are two ways to get the dep-ppl-app repository
with the application onto the controller.
Transfer the Application
- Option 1: Git Clone (Recommended)
- Option 2: Copy using FileZilla
Clone the repository directly on the controller using Git. The benefit of this approach is that any changes you make
to the repository can be pulled directly onto the controller using
git pull.The controller needs access to the internet for this option.
Install and Run the Application
Once the repository is on the controller, follow these steps to install and run the application.Run the Install Script
Run the installation script. This will create a Python virtual environment, install all dependencies from
requirements.txt, and set up a cronjob that automatically starts the application when the controller reboots.After running
bash install.sh, the application will automatically start on every reboot of the controller thanks to
the cronjob. You can always manually start or stop the application using bash start.sh and bash stop.sh.