Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/marcorivm/quasar-app-extension-system-environment-variables
- Owner: marcorivm
- Created: 2019-10-01T21:55:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-21T02:09:54.000Z (about 3 years ago)
- Last Synced: 2024-10-11T22:49:24.992Z (2 months ago)
- Language: JavaScript
- Size: 32.2 KB
- Stars: 10
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- quasar-awesome - system-environment-variables
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 environmentsIn 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).