Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <oparoz@users.noreply.github.com>2015-09-02 16:52:00 +0300
committerOlivier Paroz <oparoz@users.noreply.github.com>2015-09-02 16:52:00 +0300
commitd69145434c249415c413ccd9243a8ad76a8fddc8 (patch)
treecb2e4ae6d848289156e74856cbd5343244cae1ac /tests/README.MD
parent9adcb41ffc30b756d3eff3b569ad47eebe08bd29 (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.MD7
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`