makuga01 / dnsFookup

DNS rebinding toolkit
249 stars 41 forks source link

Create `.tool-versions` it is the asdf version manager config file #31

Open am0o0 opened 1 year ago

am0o0 commented 1 year ago

the current FE is compatible with nodejs 16.14.2 so it is good to use this version with asdf version manager for having easier setup the asdf setup instruction that I suggest we should add to README:

  1. install it with help of https://asdf-vm.com/guide/getting-started.html
  2. install nodejs plugin for asdf
    asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
  3. install compatible nodejs version with asdf
    asdf install nodejs 16.14.2
  4. reset the current terminal session to apply changes.

after setup asdf, if you enter node -v in dnsFookup dirs and subdirs, it must give you v16.14.2 in output.

am0o0 commented 1 year ago

we can skip having this config file and instead in the instructions we add one more step:

asdf local nodejs 16.14.2
am0o0 commented 1 year ago

do you want to i add a RunFE.sh file to automate running the FE?