spatie / mailcoach-support

Questions and support for Mailcoach
https://mailcoach.app
31 stars 2 forks source link

Installing on Forge #225

Closed timoladoyinbo closed 4 years ago

timoladoyinbo commented 4 years ago

Hi, I'm trying to install as a package using the git repository feature offered on Forge but I'm getting an issue with authentication. Please what's the best way to add my credentials for it to work without having it in my version control?

Thanks.

freekmurze commented 4 years ago

I suggest you place an auth.json in the composer home directory like described in our docs.

image

https://mailcoach.app/docs/v2/package/general/installation-and-setup

timoladoyinbo commented 4 years ago

Thanks for the response. I have done that already, that is putting the auth.json in the home directory but still, get the same issue. I want to avoid putting it in the composer directory of the project as I'll be forced to include this in version control because of the automatic deploy.

freekmurze commented 4 years ago

In normal circumstances the home directory of composer is not equal the home directory of the user. If in your case it is, I would suggest configuring composer to use another home directory that is not version control.

timoladoyinbo commented 4 years ago

Thanks for the response. I think that might actually be the case here, I'll give it a try.