Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.directenergypartners.com/llms.txt

Use this file to discover all available pages before exploring further.

Once you have tested your custom application locally, you can deploy it to the Power Platform controller. The application should be placed in the /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

Install and Run the Application

Once the repository is on the controller, follow these steps to install and run the application.
1

Navigate to the Repository

SSH into the controller and navigate to the repository folder:
cd /opt/plcnext/appshome/data/dep-ppl-app
2

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.
bash install.sh
3

Start the Application

Manually start the application by running:
bash start.sh
4

Stop the Application

To stop the application at any time, run:
bash stop.sh
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.