Giter VIP home page Giter VIP logo

Comments (8)

lflimeira avatar lflimeira commented on June 14, 2024 1

@brunoric e @jpjoao, it worked. Thank you so much. You guys, helped me a lot. 😄

from docker-phpqa.

brunoric avatar brunoric commented on June 14, 2024

Hi @lflimeira, about the permission issue please make sure that your ssh keys and config are not impacting when trying to clone GitHub repositories. Try to clone the repository instead of using the installer, if you have the same issue please refer to this Github article. If by any reason you are able to clone the repository but not to use the installer from the remote location you can run the installer from the cloned repository with bash path/to/your/phpqa/repo/bin/installer.sh.

Please let us know if you solved your problem.

from docker-phpqa.

lflimeira avatar lflimeira commented on June 14, 2024

@brunoric thank you for your answer and attention.

I clone the repository and I tried to run the locally installer, but it gave me the same error:

$ bash bin/installer.sh
PHPQA installer started ...
Step 1: clonning the repository to /c/Users/LuizFelipe/.phpqa/bin/phpqa.sh
Cloning into 'C:/Users/LuizFelipe/.phpqa'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Step 2: linking phpqa.sh to /usr/local/bin/phpqa ...
ln: failed to create symbolic link ‘/usr/local/bin/phpqa’: No such file or directory
Step 3: applying exec permissions ...
chmod: cannot access ‘/usr/local/bin/phpqa’: No such file or directory
Success! The phpqa command was added to your /usr/local/bin folder and can be used globally.

Could it be some problem of permission on Docker?

When I try to run $ phpqa phpt/lflimeira/ it gives me the following error.

bash: phpqa: command not found

from docker-phpqa.

lflimeira avatar lflimeira commented on June 14, 2024

So, my problem can't be solved @brunoric?

from docker-phpqa.

brunoric avatar brunoric commented on June 14, 2024

Hi @lflimeira,

As I told you before you must have some problem with your Github ssh keys. If you take a look at the phpqa installer you will see that it basically clones the repo to a default place and symlink it. If you are able to clone it, and the installer doesn't, something is wrong on your end regarding the keys. Anyway, since you said that you were able to clone you can use the phpqa.sh from the repository or if you prefer to create a global link for it. To use the phpqa script from your cloned repository just use bash path/to/your/phpqa/repo/bin/phpqa.sh. Please let us know if it worked for you.

=)

from docker-phpqa.

lflimeira avatar lflimeira commented on June 14, 2024

@brunoric thank you so much for your answer and attention. I think that the problem it's me :)

See what's happening:

image

from docker-phpqa.

brunoric avatar brunoric commented on June 14, 2024

Hi @lflimeira,

You are missing the run subcommand.

bash bin/phpqa.sh run phpt/examples

I can see that the usage message is also missing it but is just a misleading message and I will send a PR to fix it. Actually, the message should be OK in master since Barry's PR. Maybe you will need to pull the latest changes (from the repository). But regardless the message, like I've said seems to be working, please use the subcommands and you should be fine.

=)

from docker-phpqa.

jpjoao avatar jpjoao commented on June 14, 2024

Regarding the "pulling the latest changes", I've just sent a PR that should make that easier (#32).

In the meanwhile you can manually update your docker images by running the following commands:

docker pull herdphp/phpqa:55
docker pull herdphp/phpqa:56
docker pull herdphp/phpqa:70
docker pull herdphp/phpqa:71
docker pull herdphp/phpqa:72

Cheers,
João Paulo

from docker-phpqa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.