Skip to content

dayamuralidharan/California-Urban-Water-Management-Economic-Tool

Repository files navigation

California Urban Water Management Economics Tool

California Department of Water Resources Urban Water Management Economics Tool [Development Repository]

License file: License information.

Create the executable file for the model

  • Update CaUWMET/main.spec if needed to configure how the executable is created.
  • Then run the following command from the root directory to create distribution.zip which contains the .exe file and its dependencies.
.\create-cauwmet-model-executable.ps1

Run the model as a .exe file

  • Open File Explorer and unzip distribution.zip into a directory of your choosing.
  • Double click the CaUWMET_v{VERSION_NUMBER}.exe to start the model.

Create the executable file for the Streamlit app

  • Update CaUWMET/streamlit_executable_builder.spec if needed to configure how the executable is created.
  • Then run the following command from the root directory to create distribution.zip which contains the .exe file and its dependencies.
.\create-cauwmet-visualizer-executable.ps1

Run the Streamlit app as a .exe file

  • Open File Explorer and unzip distribution.zip into a directory of your choosing.
  • Double click the Visualize_CaUWMET.exe to start the app.
  • If you see an error related to socket permissions, try changing the port by setting the CAUWMET_PORT environment variable.

About

California Urban Water Management Economic Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published