Closed victorterpstra closed 2 years ago
To use a shell script:
.sh
extension, e.g. run_my_dashboard.sh
#!/bin/bash
as the first line. For instance:
#!/bin/bash
echo "Run the FruitDistribution dashboard"
PYTHONPATH=$PYTHONPATH:/userfs/FruitDistribution
cd FruitDistribution/dashboard/
python fruit_index.py
bash run_my_dashboard.sh
Use a script to start the dashboard from the terminal root.
Avoids having to copy and paste:
Is it possible to define and run a script in the CPD terminal?