Skip to content
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

EZP-31807: Updated platform.sh CLI command example to set COMPOSER_AUTH #591

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion doc/platformsh/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ This requires more manual steps, but may be more up to date with current develop
Run `platform get <your project id>`
3. Authentication against Github/Bitbucket/Gitlab/updates.ez.no
For example set the project variables for your eZ Network installation ID and token:
`platform project:variable:create env:COMPOSER_AUTH '{"http-basic":{"updates.ez.no":{"username":"network-id","password":"token-key"}}}' --no-visible-runtime --sensitive true`
`platform variable:create --name=env:COMPOSER_AUTH --value='{"http-basic":{"updates.ez.no":{"username":"network-id","password":"token-key"}}}' --level=project --sensitive=true --json=true --visible-runtime=false --visible-build=true
`
4. If you have the need to debug things remotely, set the `APP_ENV` environment variable to 'dev':
`platform project:variable:set env:APP_ENV dev`.
7. Push your branch. The Platform.sh setup wizard provides the command to use. Example:
Expand Down