https://github.com/emartech/gap-secret-editor
GUI to edit secret environment variables for GAP applications
https://github.com/emartech/gap-secret-editor
team-interactions
Last synced: 11 months ago
JSON representation
GUI to edit secret environment variables for GAP applications
- Host: GitHub
- URL: https://github.com/emartech/gap-secret-editor
- Owner: emartech
- License: mit
- Created: 2020-04-14T15:52:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-10T14:41:39.000Z (over 1 year ago)
- Last Synced: 2025-04-05T03:51:10.473Z (over 1 year ago)
- Topics: team-interactions
- Language: JavaScript
- Homepage:
- Size: 7.86 MB
- Stars: 9
- Watchers: 9
- Forks: 3
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GAP Secret Editor
## Description
Secret and config editor with GUI for Emarsys applications in Google Application Platform
## Requirements
Install (or update) [gcloud](https://cloud.google.com/sdk/docs/quickstarts), and connect to the staging and production
clusters. More info in [GAP docs](https://gap-docs.gservice.emarsys.net/Getting-started/development-environment-setup-guide/#google-cloud-sdk).
## Installation
Download the application from the [releases](https://github.com/emartech/gap-secret-editor/releases) page of the GitHub
repository.
- For macOS: download the .dmg file, double-click on it, and drag the "GAP Secret Editor" icon onto "Applications".
- For Windows: download the .exe file and double-click on it.
- For Linux: download the .AppImage file, make it runnable (chmod +x), and run it.
## Logging
Application logs can be found in the following directory:
- For macOS: `~/Library/Logs/gap-secret-editor/`
- For Windows: `%USERPROFILE%\AppData\Roaming\gap-secret-editor\logs`
- For Linux: `~/.config/gap-secret-editor/logs/`
## Contributing
``` bash
# set appropriate NodeJS version
nvm use
# install dependencies
npm ci
# start application locally
npm run start-dev
# run all tests (with npm audit and linter checks)
npm test
# run only unit tests once
npm run test:once
# run only unit tests in watch mode
npm run test:watch
# build electron application
npm run build
# build and release electron application
npm run release
```
### Releasing a new version using CI
Increase the version number in [package.json](package.json) and [package-lock.json](package-lock.json) then commit it.
The commit message must begin with `release v` (e.g. `release v1.2.3`). Push the commit and wait for the CI to test and
build the app. At the end, the CI will create a draft release under the [releases](https://github.com/emartech/gap-secret-editor/releases)
page, which you have to edit and publish manually.
**Note:** The actual release number is based on the value in [package.json](package.json), but it sounds a good idea to
use the same value in the commit message, as well.
### Releasing a new version locally
Set the `GH_TOKEN` environment variable to your [GitHub Token](https://github.com/settings/tokens)
(make sure the token has access to the *repo* role and all its sub-roles).
Increase the version number in [package.json](package.json) and run `npm run release`.
The script will create a draft release under the [releases](https://github.com/emartech/gap-secret-editor/releases)
page, which you have to edit and publish manually.
### Troubleshooting
After install on Mac machines an error will pop up:

To bypass the error message go to Settings and within Privacy&Settings click on 'Open Anyway'.

If the below error greets you on startup, do a computer restart.
If it still presents, try starting the app from the terminal with `open /Applications/GAP\ Secret\ Editor.app`.

## Code of Conduct
Always keep in your mind and heart the codex of SAP standards.
## Licensing
See the LICENSE file.
[Reuse](https://api.reuse.software/info/github.com/emartech/gap-secret-editor)
---
This project was generated with [electron-vue](https://github.com/SimulatedGREG/electron-vue)@[45a3e22](https://github.com/SimulatedGREG/electron-vue/tree/45a3e224e7bb8fc71909021ccfdcfec0f461f634) using [vue-cli](https://github.com/vuejs/vue-cli). Documentation about the original structure can be found [here](https://simulatedgreg.gitbooks.io/electron-vue/content/index.html).
The application icon
is based on the [icon](https://www.flaticon.com/free-icon/settings_126363) made by [Gregor Cresnar](https://www.flaticon.com/authors/gregor-cresnar) from [www.flaticon.com](https://www.flaticon.com/).