Before starting development, you will need to install both python and nodejs.
Then run:
./tools/provision.shThis will watch for any changes to js files that are compiled:
npm run startEnsure you're using python 3.12 or higher.
Install Homebrew (if not already installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Install GDAL:
brew install gdalUpdate your settings so python can find GDAL and GEOS (confirm these paths are correct for your machine first):
GDAL_LIBRARY_PATH = "/opt/homebrew/opt/gdal/lib/libgdal.dylib"
GEOS_LIBRARY_PATH = "/opt/homebrew/opt/geos/lib/libgeos_c.dylib"To use Spatialite for your DB:
brew install libspatialite{
"configurations": [
{
"name": "Debug Django (all)",
"type": "debugpy",
"request": "launch",
"args": ["runserver"],
"django": true,
"autoStartBrowser": false,
"program": "${workspaceFolder}/manage.py",
"justMyCode": false
},
{
"name": "Debug Django (mine)",
"type": "debugpy",
"request": "launch",
"args": ["runserver"],
"django": true,
"autoStartBrowser": false,
"program": "${workspaceFolder}/manage.py",
"justMyCode": true
}
]
}