HTTPS SSH

README

Desktop interface to SWAT+ allowing the user to import a project from GIS, modify SWAT+ input, write the text files, and run the model.

Read the docs at swatpluseditor.readthedocs.io

Installing and running the source code

Back-end development stack

  1. Install Python 3.x
  2. Install required Python packages
    1. From command prompt, go to source code /api directory
    2. Run pip install -r requirements.txt

Front-end development stack

  1. Install Node.js
  2. Install Electron globally
    1. From command prompt, run: npm install electron -g
  3. Install other required Node.js packages
    1. From command prompt, go to the root directory of the source code
    2. 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
  3. In another prompt, run electron .

Documentation building (not needed to run the source code)

  1. Read the Docs
  2. reStructuredText
  3. Build Documentation
    1. From command prompt, go to source code /docs directory
    2. Run make html