Skip to content

Commit

Permalink
Update readme with more detailed instructions on how to use
Browse files Browse the repository at this point in the history
  • Loading branch information
samanthamjohn committed Sep 5, 2024
1 parent 846ab72 commit cf2e336
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,19 @@ to set the SDK for the current Run Configuration to be one that matches that ver

## Installation

Installation is simple, simply install the plugin and it will automatically
start working. To disable the plugin, disable it from the installed plugins menu.
To install, download the latest version of the plugin (zip file) from the [Releases](https://github.com/boryspierov/shadowenv/releases) page and install it in JetBrains IDE. On the plugins page, click the gear icon and select "Install plugin from disk".

![Install from disk](docs/install-from-disk.png)

You will also need to install the [EnvFile plugin](https://github.com/ashald/EnvFile).This is available in the JetBrains plugin repository.

To use the plugin, you can use variables from your shadowenv file in your run configuration. The syntax looks like `${VARIABLE_NAME}`. See an example here:

![intellij-shadow-env](docs/intellij-variable-example.png)

You will need to enable the envfile plugin as well. See the example below:

![intellij-shadow-env](docs/intellij-envfile-example.png)

## Building

Expand Down
Binary file added docs/install-from-disk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/intellij-envfile-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/intellij-variable-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cf2e336

Please sign in to comment.