Skip to content

risklayer/myriad-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

137 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MYRIAD-EU Multi-Risk Toolkit

Development

Before starting development, you will need to install both python and nodejs.

Then run:

./tools/provision.sh

Building JavaScript files in development

This will watch for any changes to js files that are compiled:

npm run start

Recommended VSCode settings

MacOS

Ensure 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 gdal

Update 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
    }
  ]
}

About

Mirror of the current myriad dashboard code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors