Skip to content

Commit d45f41c

Browse files
committed
Update installation instructions
1 parent fd2fb5d commit d45f41c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

updater/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ The Nix shell provides all necessary dependencies and hooks for installing depen
1212
nix-shell
1313
```
1414

15+
This will produce an `bin/index.js` file, which is the executable script. You can run commands using the path to this script. The easiest way to do so is by aliasing the full path:
16+
17+
```sh
18+
alias contrib-updater='node ~/path/to/governance/updater/bin/index.js'
19+
```
20+
1521
You can now use `contrib-updater` to run the tool:
1622

1723
```sh

updater/shell.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,5 @@ in pkgs.stdenv.mkDerivation {
2424
shellHook =''
2525
npm install
2626
npm run build
27-
alias contrib-updater='${pkgs.nodejs-12_x}/bin/node "./bin/index.js"'
2827
'' ;
2928
}

0 commit comments

Comments
 (0)