Skip to content

Latest commit

 

History

History
53 lines (32 loc) · 1.09 KB

README.md

File metadata and controls

53 lines (32 loc) · 1.09 KB

Photosphere Electron

The Electron-based desktop version of the Photosphere application.

Pre-reqs

To run the Electron version of Photosphere you must first run the backend.

Setup

First, follow the instructions in the main readme.

Then open a terminal and change directory to the Electron project:

cd electron

See the Electron frontend readme for the environment variables you need for the Electron frontend.

Run from the dev server

If you are running the Electron frontend in dev mode, start the Electron app like this:

pnpm run start:dev

This command also starts the dev server.

Run from the static web page

To build the Electron frontend to a static web page, start the Electron app like this:

pnpm start

This command also builds the static version of the web page.

Build the installer

Run build script for each platform:

pnpm run build-win
pnpm run build-linux
pnpm run build-mac

For MacOS you need to build it on a Mac.

Results can be found under ./tmp/build.