heroku-manager
v1.0.2
Published
```markdown # Heroku Manager
Downloads
11
Readme
# Heroku Manager
This library automates the configuration of environment variables on Heroku for your application. It reads the variables from a .env file and sets them on your Heroku app using the Heroku CLI.
## Prerequisites
Before using this library, make sure you have the following installed:
- Node.js
- npm (Node Package Manager)
- Heroku CLI
## Installation
You can install the Heroku Manager library using npm:
```bash
npm install heroku-manager
Usage
import { configureHerokuEnv } from 'heroku-manager';
const options = {
appName: 'YOUR_HEROKU_APP_NAME',
envFilePath: '.env',
};
configureHerokuEnv(options);
Replace 'YOUR_HEROKU_APP_NAME'
with the name of your Heroku app.
Example
import { configureHerokuEnv } from 'heroku-manager';
const options = {
appName: 'm-pesa-payments-api',
envFilePath: '.env',
};
configureHerokuEnv(options);
Contributing
Contributions are welcome! If you have any suggestions or find any issues, please open an issue or create a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Este README.md foi atualizado para refletir o uso da biblioteca "heroku-manager" em vez do script diretamente. Certifique-se de substituir `'YOUR_HEROKU_APP_NAME'` pelo nome real do seu aplicativo Heroku ao usar a biblioteca.