Run flask application as root or modify ruby application
I have a python flask application (https://github.com/Ottermad/PeterWakefieldSite on 18.104.22.168) which does allows a user to upload a file a then call a ruby program (https://github.com/benbalter/word-to-markdown) on that file. However, the terminal program needs root user permissions. So how can either configure my VPS to either run as root or how to mod the terminal app to not need root permissions.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.