/dashboard-julia

A vineyard monitoring dashboard written in Julia

Primary LanguageJuliaMIT LicenseMIT

Building data-driven dashboards in Julia

Instructor: Iga Szczesniak
Location: Innovation Hub, Pretoria, South Africa
Date & Time: August 7th, 11:30 AM (GMT+2)
More Information: https://unctad.org/meeting/workshop-harnessing-space-technological-applications-sdgs-0

This repository provides resources for creating interactive, web-based applications in Julia using the Dash.jl framework. The example project featured here is the vineyard monitoring dashboard, which includes interactive elements such as dropdown lists, maps, graphs, and buttons.

Prerequisites

Ensure you have the following software installed before setting up the project:

Setup Instructions

1. Clone the Repository

Open your terminal and clone the repository by running:

git clone https://github.com/igaszczesniak/dashboard-julia.git

2. Mapbox Access Token Configuration

Mapbox is used for styling maps within the dashboard. To configure it, follow these steps:

Acquire a Mapbox Access Token

  1. Visit the Mapbox Access Tokens page.
  2. Log in or sign up for a Mapbox account.
  3. Generate a new access token or use an existing one.

Configure the Token in Your Project

  1. Navigate to the project folder.

  2. Create a file named config.jl in the project folder.

  3. Open config.jl and define your Mapbox Access Token by adding the following line:

    MAPBOX_TOKEN = "paste-your-access-token-here"

    Replace "paste-your-access-token-here" with the actual token you obtained from Mapbox.

Running the Project

1. Launch the Dash App

Open the project in VS Code and run the following command in your terminal to start the Dash app:

julia dashboard.jl

2. View the Dashboard

Open your web browser and navigate to http://127.0.0.1:8050/ to view the dashboard locally!