-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update install page to prioritize npx install
- Loading branch information
Showing
5 changed files
with
48 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<svg xmlns="http://www.w3.org/2000/svg" width="{{include.width}}" height="{{include.width}}" viewBox="0 0 128 128"><path fill="#cb3837" d="M2 38.5h124v43.71H64v7.29H36.44v-7.29H2zm6.89 36.43h13.78V53.07h6.89v21.86h6.89V45.79H8.89zm34.44-29.14v36.42h13.78v-7.28h13.78V45.79zm13.78 7.29H64v14.56h-6.89zm20.67-7.29v29.14h13.78V53.07h6.89v21.86h6.89V53.07h6.89v21.86h6.89V45.79z"/></svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col col-lg-8 offset-lg-2"> | ||
|
||
<div class="card"> | ||
<div class="card-body p-lg-4"> | ||
<div class="text-center"> | ||
{% include icons/npm2.html width="100" %} | ||
</div> | ||
|
||
<p class="text-center">The easiest (and recommended) way to use dotenv-vault is via <a href="https://docs.npmjs.com/cli/v7/commands/npx">npx</a>.</p> | ||
|
||
<div class="input-group mb-3"> | ||
<span class="input-group-text fs-6 text-success pe-0 font-monospace">$</span> | ||
<input id="npm-cmd-1" type="text" class="border-start-0 ps-2 form-control form-control-lg bg-light font-monospace fs-6" value="npx dotenv-vault@latest new"> | ||
<button class="btn btn-light border ms-2 clipboard-btn" data-clipboard-action="copy" data-clipboard-target="#npm-cmd-1"> | ||
{% include icons/clipboard.html width="20" %} | ||
</button> | ||
</div> | ||
<div class="input-group mb-3"> | ||
<span class="input-group-text fs-6 text-success pe-0 font-monospace">$</span> | ||
<input id="npm-cmd-2" type="text" class="border-start-0 ps-2 form-control form-control-lg bg-light font-monospace fs-6" value="npx dotenv-vault@latest push"> | ||
<button class="btn btn-light border ms-2 clipboard-btn" data-clipboard-action="copy" data-clipboard-target="#npm-cmd-2"> | ||
{% include icons/clipboard.html width="20" %} | ||
</button> | ||
</div> | ||
<div class="input-group mb-3"> | ||
<span class="input-group-text fs-6 text-success pe-0 font-monospace">$</span> | ||
<input id="npm-cmd-3" type="text" class="border-start-0 ps-2 form-control form-control-lg bg-light font-monospace fs-6" value="npx dotenv-vault@latest pull"> | ||
<button class="btn btn-light border ms-2 clipboard-btn" data-clipboard-action="copy" data-clipboard-target="#npm-cmd-3"> | ||
{% include icons/clipboard.html width="20" %} | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<p class="mt-2 mb-4">npx makes it easy to use CLI tools, but it requires NodeJS and npm. See below for other ways to install <a href="https://github.com/dotenv-org/dotenv-vault">dotenv-vault</a>.</p> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ redirect_from: | |
--- | ||
|
||
{% include install/hero.html %} | ||
{% include install/npx.html %} | ||
{% include install/card.html %} |