tliron / puccini

Cloud topology management and deployment tools based on TOSCA
https://puccini.cloud
Apache License 2.0
88 stars 20 forks source link

puccini-tosca: command not found #31

Closed dorrachaari closed 4 years ago

dorrachaari commented 4 years ago

I'm following the the quickstart https://puccini.cloud/QUICKSTART.html When I run the command puccini-tosca compile examples/kubernetes/bookinfo/bookinfo-simple.yaml | puccini-js exec kubernetes.generate | kubectl apply -f - I keep getting this error puccini-tosca: command not found puccini-js: command not found error: no objects passed to apply

tliron commented 4 years ago

You need the executables to be in your execution path. If you are on Linux this should work for the session:

export PATH=$PATH:~/go/bin/

Or, you can copy them to /usr/bin/.

Or, run them from their location:

~/go/bin/puccini-tosca compile ...
dorrachaari commented 4 years ago

I am not sure what executables you're talking about but I downloaded puccini-master from here https://github.com/tliron/puccini and I extracted it in home then I copied the folders puccini-js and puccini-tosca folders in /usr/bin/. I ran the dashboard in one terminal and then the command puccini-tosca compile examples/kubernetes/bookinfo/bookinfo-simple.yaml | puccini-js exec kubernetes.generate | kubectl apply -f - in another terminal and I still get the same error.

tliron commented 4 years ago

I think you downloaded the source code, in which case you would have to build the executables yourself following the build guide. But you don't have to do that. You can download pre-compiled executables.

Go to the download page (linked from the nice big green "download" button on the Puccini site), and you'll see it organized by tags. The latest release at the moment is v0.13.0. In that section you will see "Assets", which are named according to platform. If you're on Windows, pick the "windows_amd64.zip" file. If you're on Mac, pick the "darwin_amd64.tar.gz" file. For Linux there is a "tar.gz" file as well as ".deb" and ".rpm" packages.

dorrachaari commented 4 years ago

Thanks it's working completely fine now.

Le lun. 30 mars 2020 à 17:02, Tal Liron notifications@github.com a écrit :

I think you downloaded the source code, in which case you would have to build the executables yourself following the build guide https://github.com/tliron/puccini/blob/master/scripts/README.md. But you don't have to do that. You can download pre-compiled executables.

Go to the download https://github.com/tliron/puccini/releases page (linked from the nice big green "download" button on the Puccini site), and you'll see it organized by tags. The latest release at the moment is v0.13.0. In that section you will see "Assets", which are named according to platform. If you're on Windows, pick the "windows_amd64.zip" file. If you're on Mac, pick the "darwin_amd64.tar.gz" file. For Linux there is a "tar.gz" file as well as ".deb" and ".rpm" packages.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tliron/puccini/issues/31#issuecomment-606054058, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJW6SL55QSCZZZ77HTKV6KTRKCYAXANCNFSM4LWBZHSQ .