/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.
1
SSH into the Controller
Open a terminal and connect to the controller via SSH:
2
Navigate to the Target Folder
Navigate to the application data folder:
3
Clone the Repository
Clone your forked
dep-ppl-app repository:4
Pull Updates (When Needed)
Whenever you push changes to your repository, you can pull them onto the controller:
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:
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.3
Start the Application
Manually start the application by running:
4
Stop the Application
To stop the application at any time, run:
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.