Giter Site home page Giter Site logo

lbibl / watertap-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from watertap-org/watertap-ui

0.0 0.0 0.0 648 KB

User interface(s) (UI) for the WaterTAP library

License: MIT License

Shell 0.02% JavaScript 82.65% Python 9.21% CSS 6.52% HTML 1.60%

watertap-ui's Introduction

watertap-ui

This repository is for work on the user interface(s) (UI) for the WaterTAP library.

Getting started (developer)

Install Python

The Python code, and the PIP requirements, are in the backend/ folder.

cd <watertap-ui-path>/backend
pip install -r requirements.txt
idaes get-extensions

Install Javascript

Prerequisites: Node Package Manager (npm)

See the NPM install page for installation and the NPM upgrade page for upgrading to the latest version. See the NPM install page for installation and the NPM upgrade page for upgrading to the latest version.

cd <watertap-ui-path>/electron
npm install

cd <watertap-ui-path>/electron/ui
npm install

Run UI

cd <watertap-ui-path>/electron
npm start

Windows instructions

The JS spawning doesn't work on Windows, so in order to start the app there you need to start things by hand using the following commands:

  1. Turn off default browser opening with $Env:Browser="none"
  2. From the repo root: cd backend/app and run uvicorn main:app --host 127.0.0.1 --port 8000 --reload &
  3. Next cd ../../electron/ui and run npm start &.
  4. Finally: cd .. (now in 'electron' subdir) and run npm start

watertap-ui's People

Contributors

dangunter avatar elbashandy avatar michaelpesce avatar yonglbl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.