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.
Ensure you have the following software installed before setting up the project:
Open your terminal and clone the repository by running:
git clone https://github.com/igaszczesniak/dashboard-julia.git
Mapbox is used for styling maps within the dashboard. To configure it, follow these steps:
- Visit the Mapbox Access Tokens page.
- Log in or sign up for a Mapbox account.
- Generate a new access token or use an existing one.
-
Navigate to the project folder.
-
Create a file named
config.jl
in the project folder. -
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.
Open the project in VS Code and run the following command in your terminal to start the Dash app:
julia dashboard.jl
Open your web browser and navigate to http://127.0.0.1:8050/ to view the dashboard locally!