diff options
author | Olivier Paroz <oparoz@users.noreply.github.com> | 2015-09-02 16:52:00 +0300 |
---|---|---|
committer | Olivier Paroz <oparoz@users.noreply.github.com> | 2015-09-02 16:52:00 +0300 |
commit | d69145434c249415c413ccd9243a8ad76a8fddc8 (patch) | |
tree | cb2e4ae6d848289156e74856cbd5343244cae1ac /tests/README.MD | |
parent | 9adcb41ffc30b756d3eff3b569ad47eebe08bd29 (diff) |
Add Github token to composer
It's best to use a token to download composer dependencies
[ci skip]
Diffstat (limited to 'tests/README.MD')
-rw-r--r-- | tests/README.MD | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/README.MD b/tests/README.MD index 1d3a0534..3b451bf6 100644 --- a/tests/README.MD +++ b/tests/README.MD @@ -41,6 +41,13 @@ This usually works well: `# curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer` +Next you'll need to add a Github token to composer so that you can easily download as many dependencies as you need. + +1. Generate a personal token in your Github profile. Don't give any Github permissions to it. + +2. Type the following command: +`# composer config --global github-oauth.github.com <your-token> ` + Now you can install all the packages which we need to test the app: `# php -dmemory_limit=1G /usr/local/bin/composer install --prefer-source -o` |