Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Archived; Electron-based React desktop application for use with the CodeReady Containers HTTP API

License

Notifications You must be signed in to change notification settings

gbraad-redhat/crc-tray-electron

 
 

Repository files navigation

Desktop/tray app for Red Hat OpenShift Local (formerly CodeReady Containers)

Note! This project is not under active development. Please use the OpenShift Local extension for Podman Desktop instead.

CircleCI

Release

$ make release

You also need to add crc binary to the app.

For macOS, please also run:

$ cp <path to crc release binary> release/tray-electron-darwin-x64/tray-electron.app/Contents/Resources/app/

Development

To build the Electron tray you need to install nodejs in your system

We suggest you install nvm or nvs and use it to install nodejs version 16.13.1

  1. Install NodeJS

    The following instructions are from nodejs.dev

    Linux / macOS

    $ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash 
    $ nvm install 16.13.1
    

    windows

    PS> choco install nvs
    PS> nvs add 16.13.1
    PS> nvs use 16.13.1
    
  2. Clone the repository and use make to build the tray app

    $ git clone https://github.com/code-ready/tray-electron.git
    $ cd tray-electron
    $ make
    

NOTE

While making changes to the UI it is handy to see the rendered pages live as you are doing the changes

Starts electron concurrently with a live server which watches for changes and reloads as you save

$ make dev 

About

Archived; Electron-based React desktop application for use with the CodeReady Containers HTTP API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.2%
  • MDX 3.9%
  • CSS 1.7%
  • SCSS 1.5%
  • Dockerfile 0.6%
  • Makefile 0.5%
  • Other 0.6%