Skip to content

Creating a Web Application

Chris Campbell edited this page Nov 21, 2024 · 3 revisions

NOTE: This page is being rewritten (in June 2023) to provide the latest guidance on creating a web application using SDEverywhere. Until it is ready, please consult the "Quick Start" instructions in the top-level README. The create script shown there will create directories and files that match the recommended directory structure:

  • config folder: contains the CSV files that you can edit to customize your graphs, sliders, and more
  • core library package: contains the generated model and exposes the core configuration for your model
  • app package: contains source code for a simple web application that you can customize to your liking

This page will be updated soon with diagrams and more detailed guidance.

Troubleshooting

This section details some error messages that can appear when building a model/application with SDEverywhere.

Error: More than one string with key=graph_001_title (or key=input_001_title)

You might encounter this error when adding new graph or slider rows to the config/graphs.csv or config/inputs.csv files. The values in the id column in those csv files need to be unique, so if you forget to assign a unique identifier for each row, the builder will report this error.

To fix the issue, change the id value for each row to ensure that they are all unique.