Skip to content

Commit 2bf93ed

Browse files
committed
De-nodeify CONTRIBUTING
1 parent 0613a8a commit 2bf93ed

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ To participate, be sure you know how to
6060
1. [Make a GitHub account][link_signupinstructions]
6161
1. Install the required software:
6262
- [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
63-
- [NodeJS](https://nodejs.org/en/download/), including `npm` of version 7 or higher (check existing version with `npm -v`, to update an existing nodejs, we can suggest [this guide](https://phoenixnap.com/kb/update-node-js-version).)
63+
- [Deno](https://deno.com/)
6464
1. In the GitHub interface, [make a fork][link_fork] of
6565
https://github.com/bids-standard/bids-validator to your own user (called `USER` for the
6666
sake of the example)
@@ -71,18 +71,9 @@ To participate, be sure you know how to
7171
- You will now have a new directory called `bids-validator`
7272
- navigate to that directory and run `git status` to verify that it's a `git`
7373
directory
74-
- run `npm install` to install the BIDS validator
75-
1. Upon inspection of the `bids-validator` repository we can find the
76-
"executable" BIDS validator, located in `<...>/bids-validator/bin`, where
77-
`<...>` is the path to your `bids-validator` repository
78-
- To make this executable available from the command line, we have to add it
79-
to the path. On Unix systems with bash as their default shell, this means
80-
editing the `.bashrc` file by adding the following line to the bottom of
81-
it: `export PATH="$PATH:<...>/bids-validator/bin"` ... Note that `<...>`
82-
again needs to be replaced by the path to your BIDS validator repository
83-
- Now whenever you open a new command line, we will have the `bids-validator`
84-
executable available. You can verify by opening a new command line and
85-
typing `bids-validator --version`, and it should print the version number
74+
1. Install `bids-validator` with: `deno install -Agf --reload ./bids-validator/src/bids-validator.ts`
75+
- Deno will install the file to its `bin` directory. On Unix systems,
76+
this should be `$HOME/.deno/bin`. You may need to add this to your `PATH`.
8677

8778
Now your development version of BIDS validator is set up and you can use it.
8879
Whenever you _checkout_ a new branch in your git repository, the

0 commit comments

Comments
 (0)