@@ -8,14 +8,14 @@ SPDX-License-Identifier: CC-BY-4.0
88
99## Prerequisites
1010
11- - Go 1.24.x +
12- - Python 3.11
13- - Node 20 +
11+ - Go 1.24.+
12+ - Python 3.11, 3.12 currently not working due to known issues with lxml.
13+ - Node 18 +
1414
1515## Node Setup
1616
1717NodeJS is used by [ serverless] ( https://www.serverless.com/ ) to facilitate
18- deployment and location testing. In all but few occasions, we use NodeJS v12 +.
18+ deployment and location testing. In all but few occasions, we use NodeJS v18 +.
1919
2020The frontend UI still requires an older version of NodeJS - version 8. This is
2121due to compatibility issues with the Angular and Ionic toolchain for the legacy
@@ -47,7 +47,7 @@ Historical and Current Endpoints:
4747
4848### Install Python
4949
50- You will need to install a local Python 3.11+ runtime.
50+ You will need to install a local Python 3.11 runtime (possibly via ` deadsnakes ` ) .
5151
5252One easy way to install a Python runtime on a Mac is via the ` pipenv ` tool.
5353Here, we'll use it to install a specific version of Python. There are other
@@ -62,7 +62,7 @@ To create a new Python installation using `pipenv`, specify the specific version
6262using the ` --python VERSION ` flag, like so:
6363
6464``` bash
65- pipenv --python 3.7
65+ pipenv --python 3.11
6666```
6767
6868When given a Python version, like this, Pipenv will automatically scan your
@@ -78,7 +78,7 @@ We prefer to use `virtualenv`.
7878pip3 install virtualenv
7979```
8080
81- Now setup the virtual env using python 3.6+ :
81+ Now setup the virtual env using python 3.11 :
8282
8383``` bash
8484# Check your version and grab the appropriate path
@@ -88,7 +88,7 @@ which python
8888
8989# Setup the virtual env
9090cd cla-backend
91- virtualenv --python=/usr/local/Cellar/python3/3.7.4 /bin/python3 .venv
91+ virtualenv --python=/usr/local/Cellar/python3/3.11.13 /bin/python3 .venv
9292```
9393
9494This will create a ` .venv ` folder in the ` cla-backend ` project folder. We'll
@@ -113,7 +113,7 @@ This will install the dependencies in the `.venv` path.
113113
114114### Notes on Ubuntu 24.04 LTS
115115
116- - Its python ` 3.12 ` is "too new" so the followimng steps are needed:
116+ - Its python ` 3.12 ` is "too new" so the followimng steps are needed to install python 3.11 :
117117```
118118sudo add-apt-repository ppa:deadsnakes/ppa
119119sudo apt update
0 commit comments