ironstar-io / tokaido

Zero-conf Drupal Local Development Environments with Docker
https://tokaido.io
BSD 3-Clause "New" or "Revised" License
57 stars 10 forks source link

Error in the documentation (Linux installation) #227

Closed eleonel closed 4 years ago

eleonel commented 4 years ago

I tried to install Tokaido on my linux machine using the instructions from: (https://docs.tokaido.io/en/docs/installation/linux#installing-tokaido) and I got the following error:

./tok install
zsh: no such file or directory: ./tok

The previous step in the installation it was:

curl -L https://github.com/ironstar-io/tokaido/releases/latest/download/tok-linux-amd64 -O && chmod +x tok-linux-amd64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   145    0   145    0     0    328      0 --:--:-- --:--:-- --:--:--   328
100   606    0   606    0     0    707      0 --:--:-- --:--:-- --:--:--  591k
100 17.8M  100 17.8M    0     0  2215k      0  0:00:08  0:00:08 --:--:-- 3533k

In order to fix the issue we need to rename the downloaded binary file to tok

So I recommend to replace the following command from the documentation:

curl -L https://github.com/ironstar-io/tokaido/releases/latest/download/tok-linux-amd64 -O && chmod +x tok-linux-amd64

to:

curl -L https://github.com/ironstar-io/tokaido/releases/latest/download/tok-linux-amd64 -O && chmod +x tok-linux-amd64 && mv tok-linux-amd64 tok

Environment:

garrettw commented 4 years ago

Or you could just do the rename with curl itself:

curl -L https://github.com/ironstar-io/tokaido/releases/latest/download/tok-linux-amd64 -o tok && chmod +x tok
ironmike-au commented 4 years ago

Thank you both :) I've fixed the docs now