{"id":16430,"date":"2026-01-30T11:36:16","date_gmt":"2026-01-30T18:36:16","guid":{"rendered":"https:\/\/macblaze.ca\/?p=16430"},"modified":"2026-01-30T11:42:10","modified_gmt":"2026-01-30T18:42:10","slug":"add-a-python-app","status":"publish","type":"post","link":"https:\/\/macblaze.ca\/?p=16430","title":{"rendered":"Add a python app"},"content":{"rendered":"<h2>Just computer note&#8230;<\/h2>\n<p>I wanted to run a Flask web app for L&#8217;s Moodle conversions and doing it on the Mac server seemed the best idea. I put the web app into the www folder. Here were the steps&#8230;<\/p>\n<p><code>cd \/to_folder<\/code><\/p>\n<p class=\"p2\"><code><span class=\"s1\">python3 -m venv venv<\/span><\/code><\/p>\n<p class=\"p2\"><code><span class=\"s1\">source venv\/bin\/activate<\/span><\/code><\/p>\n<p class=\"p2\"><code><span class=\"s1\">pip install Flask<\/span><\/code><\/p>\n<p class=\"p1\"><code><span class=\"s1\">pip install pypandoc<\/span><\/code><\/p>\n<p class=\"p1\"><code><span class=\"s1\"> python3 main.py<\/span><\/code><\/p>\n<p>&nbsp;<\/p>\n<h3>To come&#8230;<\/h3>\n<p>Add Gunicorn<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just computer note&#8230; I wanted to run a Flask web app for L&#8217;s Moodle conversions and doing it on the Mac server seemed the best idea. I put the web app into the www folder. Here were the steps&#8230; cd \/to_folder python3 -m venv venv source venv\/bin\/activate pip install Flask pip install pypandoc python3 main.py [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/16430"}],"collection":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16430"}],"version-history":[{"count":2,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/16430\/revisions"}],"predecessor-version":[{"id":16432,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/16430\/revisions\/16432"}],"wp:attachment":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}