Skip to content

Commit 7ea55f9

Browse files
Update docs about installing on up-to-date OS: Ubuntu 24.04 LTS
Signed-off-by: Lukasz Gryglicki <[email protected]>
1 parent e5036a0 commit 7ea55f9

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

dev.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ SPDX-License-Identifier: CC-BY-4.0
88

99
## Prerequisites
1010

11-
- Go 1.14.x
12-
- Python 3
13-
- Node 8/12+
11+
- Go 1.24.x+
12+
- Python 3.11
13+
- Node 20+
1414

1515
## Node Setup
1616

@@ -47,8 +47,7 @@ Historical and Current Endpoints:
4747

4848
### Install Python
4949

50-
You will need to install a local Python 3.6+ runtime - Python 3.7 will work now
51-
that we've updated the `hug` library.
50+
You will need to install a local Python 3.11+ runtime.
5251

5352
One easy way to install a Python runtime on a Mac is via the `pipenv` tool.
5453
Here, we'll use it to install a specific version of Python. There are other
@@ -111,6 +110,20 @@ pip3 install -r requirements.txt
111110

112111
This will install the dependencies in the `.venv` path.
113112

113+
114+
### Notes on Ubuntu 24.04 LTS
115+
116+
- Its python `3.12` is "too new" so the followimng steps are needed:
117+
```
118+
sudo add-apt-repository ppa:deadsnakes/ppa
119+
sudo apt update
120+
sudo apt install python3.11 python3.11-venv python3.11-dev
121+
python3.11 -m venv .venv
122+
source .venv/bin/activate
123+
pip install -r requirements.txt
124+
```
125+
126+
114127
### Setup Environment Variables
115128

116129
We'll need a few run-time environment variables to communicate with AWS when
@@ -187,6 +200,8 @@ This will install the `serverless` tool and plugins.
187200
# You can simply run this launcher:
188201
# ok to use node v12+
189202
yarn serve:dev
203+
# or to start on 0.0.0.0 IP:
204+
yarn serve:ext
190205

191206
# Or run it using this approach - points to the DEV database/environment
192207
node_modules/serverless/bin/serverless wsgi serve -s 'dev'

0 commit comments

Comments
 (0)