From c5d52abc8e4b94be16bdebfaad70bdf0648cee67 Mon Sep 17 00:00:00 2001
From: Vincent Sellier <vsellier@exoplatform.com>
Date: Mon, 25 Jun 2018 00:39:12 +0200
Subject: [PATCH] Use default registry and install store application by default

---
 README.md           | 3 ++-
 cozystack/cozy.yaml | 4 ++--
 create-instance.sh  | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index f6e93ef..a6813ba 100644
--- a/README.md
+++ b/README.md
@@ -106,7 +106,8 @@ Open in a browser the url displayed at the end of the script output to finalize
 
 [Drive](https://github.com/cozy/cozy-drive) and [Photo](https://github.com/cozy/cozy-photos) are installed by default by the [create-instance.sh](create-instance.sh) script. Other applications like [banks](https://github.com/cozy/cozy-banks) or [contacts](https://github.com/cozy/cozy-contacts) are also available.
 
-To install an application, you can run the [application.sh](application.sh) script :
+You can go to the store application (store.yourinstance.youdomain.tld) to manage you applications.
+To manually install an application, you can run the [application.sh](application.sh) script :
 
 ```
 sudo ./application.sh <instance name> <application>
diff --git a/cozystack/cozy.yaml b/cozystack/cozy.yaml
index 0c934e7..09373cf 100644
--- a/cozystack/cozy.yaml
+++ b/cozystack/cozy.yaml
@@ -196,8 +196,8 @@ auto_updates:
   schedule: "@cron 0 0 0 * * *"
 
 # Registries used for applications and konnectors
-registries:
-  - https://apps-registry.cozy.io/
+# registries:
+#  - https://apps-registry.cozy.io/
 
 notifications:
   # Activate development APIs (iOS only)
diff --git a/create-instance.sh b/create-instance.sh
index eea2549..19e944f 100755
--- a/create-instance.sh
+++ b/create-instance.sh
@@ -12,7 +12,7 @@ TMPFILE=$(mktemp /tmp/cozyXXX)
 
 echo "Creating instance ${INSTANCE_ID}.${COZY_TLD} ..."
 
-docker-compose exec cozy ./cozy instances add --host 0.0.0.0 --apps drive,photos,collect,settings,onboarding "${INSTANCE_ID}.${COZY_TLD}" | tee "${TMPFILE}"
+docker-compose exec cozy ./cozy instances add --host 0.0.0.0 --apps drive,photos,collect,settings,onboarding,store "${INSTANCE_ID}.${COZY_TLD}" | tee "${TMPFILE}"
 
 # TODO find a better way to detect if there was an error
 TOKEN=""
-- 
GitLab