Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Kinyugo/weather-psychic

A simple weather desktop app made using neutralinojs
https://github.com/Kinyugo/weather-psychic

Last synced: about 2 months ago
JSON representation

A simple weather desktop app made using neutralinojs

Awesome Lists containing this project

README

        

# Weather Psychic

A simple weather app made using [neutralinojs](https://github.com/neutralinojs/neutralinojs).

## Setup

Obtain an [Open Weather Map API key](https://openweathermap.org/api).

Copy the _.env.example_ in the _weather-psychic_ subdirectory to _.env_ under the same directory.

```bash
cd weather-psychic
cp .env.example .env
```

Edit the **REACT_APP_OPEN_WEATHER_API_KEY** to match the key you obtained.

Install packages:

```bash
yarn install
```

## Building

Steps:

1. Ensure that the environment variables are well configured as per the _.env.example_.
2. Ensure that there is a _neutralino.js_ file in the _weather-psychic/public_.

Then execute:

```sh
yarn build
```

This will compile the frontend code and assets to the resources folder.

## Running

From the root folder execute:

```sh
neu run
```