Problems to run axelor-open-suite in localhost

Hi guys I try to configure locally for the first time axelor-open-suite. After cloning the repository on Github and installed gradle and openJDK 8 I try to import the project into Intellij IDEA to try to debug the code etc.

To do it I follow the following guide:

https://docs.axelor.com/adk/5.0/getting-started/idea.html

but when I try to run the following command from terminal:
./gradlew generateCode copyWebapp
it throws the following error:
no such file or directory: ./gradlew

I’m not experienced using Gradle so I need your help. Thanks.
PS: I’m on a Mac system.

is it executable?

chmod +x gradlew