Skip to content

architecture-building-systems/CityEnergyAnalyst-GUI

Repository files navigation

City Energy Analyst GUI

Made with the help of electron-builder.

There are currently two possible build targets for the GUI. One for desktop (using Electron) and one for the web.

Getting Started (development)

Simply clone down this repository, install dependencies, and get started on your application.

The use of the yarn package manager and VS Code editor is recommended for development.

e.g.

git clone https://github.com/architecture-building-systems/CityEnergyAnalyst-GUI.git

cd CityEnergyAnalyst-GUI

# install dependencies
yarn

Development Scripts

For desktop version

# app will be launched using electron
yarn electron:dev

For web version

# web app will be accessible from the browser on http://localhost:5173/
yarn dev

Build Scripts

For desktop version

# compiles source code and creates the OS specific application in the `out` folder
yarn electron:build

For web version

# bundles source code and creates the web files in the `dist` folder
yarn build