Skip to content

swat-model/swat-check

Repository files navigation

README

Desktop interface for SWAT Check for SWAT2012. Download at swat.tamu.edu/software/swat-check/.

Installing and running the source code

Back-end development stack

  1. Install .NET 7 SDK

Front-end development stack

  1. Install Node.js (version 18 LTS)
  2. Install required Node.js packages
    • From command prompt, go to the root directory of the source code
    • Run npm install

Running the source code

  1. From command prompt, go to the root directory of the source code
  2. Run npm run dev

Build the source code

  1. From /src/api publish the .NET project to the /src/main/static/api_dist directory
    • Set publish profile settings to target net7.0, self-contained, win-x64, produce single file
  2. From the root of the source code directory run the following:
    • Windows: npm run build:win
  3. Program will be in /release/dist