From 68b7056037b07f17d0800feb07682251f8e2e25f Mon Sep 17 00:00:00 2001 From: James Stout Date: Tue, 16 Jan 2024 01:50:51 +0000 Subject: [PATCH 1/2] Update preferred_python3 to 3.8. Python 3.7 is no longer supported. --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 3c215beff..f985cb1aa 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -5,7 +5,7 @@ const path = require('path'); partial_install_site = "http://www.onezoom.org"; partial_local_install_site = "http://127.0.0.1:8000"; // if you are running a local installation -preferred_python3 = "python3.7"; // in case you have multiple python3 versions installed +preferred_python3 = "python3.8"; // in case you have multiple python3 versions installed web2py_py = path.join(path.dirname(path.dirname(process.cwd())), 'web2py.py'); /** Generate a function to execute a web2py script, handing over all arguments */ From 83374a0297ceaba0d766af5eb234f072195bbfa9 Mon Sep 17 00:00:00 2001 From: James Stout Date: Wed, 17 Jan 2024 06:38:52 +0000 Subject: [PATCH 2/2] Updated to Python 3.10. --- .env | 1 + Gruntfile.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 000000000..5f0f23026 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +WEB_IMAGE_NAME=onezoom/oztree-with-iucn diff --git a/Gruntfile.js b/Gruntfile.js index f985cb1aa..db66ce99f 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -5,7 +5,7 @@ const path = require('path'); partial_install_site = "http://www.onezoom.org"; partial_local_install_site = "http://127.0.0.1:8000"; // if you are running a local installation -preferred_python3 = "python3.8"; // in case you have multiple python3 versions installed +preferred_python3 = "python3.10"; // in case you have multiple python3 versions installed web2py_py = path.join(path.dirname(path.dirname(process.cwd())), 'web2py.py'); /** Generate a function to execute a web2py script, handing over all arguments */