Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/marcorivm/quasar-app-extension-system-environment-variables


https://github.com/marcorivm/quasar-app-extension-system-environment-variables

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# System Environment Variables (quasar-app-extension-system-environment-variables)

[![npm version](https://badge.fury.io/js/quasar-app-extension-system-environment-variables.svg)](https://badge.fury.io/js/quasar-app-extension-system-environment-variables)

====
> Load environment variables from the system and makes them available through process.env. Works best for building on CI/CD environments

In some scenarios like when working in a CI environment where we might want to load environment variables from the system variables instead of an .env file. This plugin will handle loading system variables as long as they are present in the .env.example file.

For Quasar v1.x look at the [1.x branch](https://github.com/marcorivm/quasar-app-extension-system-environment-variables/tree/1.x)

## Install

```bash
quasar ext add system-environment-variables
```

Quasar CLI will retrieve it from NPM and install the extension.

## Uninstall

```bash
quasar ext remove system-environment-variables
```

## Info

You need to setup a `.env.example` file which can work as a dictionary so the plugin knows which variables to look for and load from the system environment, plus it works as a guide for other users letting them know which variables are available.

## Donate

If you appreciate the work that went into this App Extension, please consider [donating to Quasar](https://donate.quasar.dev) or [buy me a beer](https://www.buymeacoffee.com/marcorivm).