-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.gitignore on Strategy #23
Comments
You can still place files in Strategy/ despite of the .gitignore. You're not supposed to have nested git repos anyway. Do try loading of opauth, cakephp-opauth and google strategy via Composer. That would be much simpler. |
No, it wouldn't. When doing so using Composer, CakePHP complains that it cannot find the strategies. of course, because the strategies are not placed within Cakephp-opauth/Strategy. So If I add a custom installer path:
then this should solve the problem. But not when .gitignore is effectively ignoring all files |
Also:
If I set |
When loading via Composer, the strategies do not have to be in All you have to do is simply: "require": {
"uzyn/cakephp-opauth": "1.*",
"opauth/facebook": "*",
"opauth/twitter": "*"
} (There's not even a need to require opauth/opauth, but no harm if you explicitly require it) And to load, you simple have to add this line to your app's <?php
CakePlugin::load('Opauth', array('routes' => true, 'bootstrap' => true)); |
if this resolves your issue @davidsteinsland please let us know to close this issue |
Why on earth? If I pull down the repo, I can't add submodules to the Strategy/ folder because of the .gitignore file.
Also, is it possible to add the Google Strategy as a submodule instead, as you have done with Vendor? It would really simplify build process..
Thanks!
The text was updated successfully, but these errors were encountered: