X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f16be1736d705278ae39bde3fc6d6d9d1f302fa7..0e57453d2b637a3d105d4e3d67031f3915f9d302:/doc/install/create-standard-objects.html.textile.liquid
diff --git a/doc/install/create-standard-objects.html.textile.liquid b/doc/install/create-standard-objects.html.textile.liquid
index d6a091a41f..1ce4faeaf7 100644
--- a/doc/install/create-standard-objects.html.textile.liquid
+++ b/doc/install/create-standard-objects.html.textile.liquid
@@ -5,67 +5,42 @@ title: Create standard objects
...
+Next, we're going to use the Arvados CLI tools on the shell server to create a few Arvados objects.
+First we create a repository object which will be used to set up a hosted clone of the arvados repository on this cluster.
-h3. "All users" group
+~$ prefix=`arv --format=uuid user current | cut -d- -f1`
+~$ echo "Site prefix is '$prefix'"
+~$ all_users_group_uuid="$prefix-j7d0g-fffffffffffffff"
+~$ repo_uuid=`arv --format=uuid repository create --repository "{\"owner_uuid\":\"$prefix-tpzed-000000000000000\", \"name\":\"arvados\"}"`
+~$ echo "Arvados repository uuid is '$repo_uuid'"
+
-prefix=`arv --format=uuid user current | cut -d- -f1` - -echo "Site prefix is '$prefix'" -# (Make sure it matches your configured 5-character site prefix.) - -read -rd $'\000' newgroup <- -h3. "arvados" repository - -This will be readable by the "All users" group, and therefore by every active user. This makes it possible for users to run the bundled Crunch scripts by specifying @"script_version":"master","repository":"arvados"@ rather than pulling the Arvados source tree into their own repositories. - - -prefix=`arv --format=uuid user current | cut -d- -f1` - -echo "Site prefix is '$prefix'" -# (Make sure it matches your configured 5-character site prefix.) - -all_users_group_uuid="$prefix-j7d0g-fffffffffffffff" -repo_uuid=`arv --format=uuid repository create --repository '{"name":"arvados"}'` -echo "Arvados repository uuid is '$repo_uuid'" - -read -rd $'\000' newlink <-+ - -h3. Keep disks - -Currently, you need to tell Arvados about Keep services manually. You'll need at least two "disk" services. - -Example: + "name":"can_read" +} +EOF +~$ read -rd $'\000' newlink <<EOF; arv link create --link "$newlink" +{ "tail_uuid":"$all_users_group_uuid", "head_uuid":"$repo_uuid", "link_class":"permission", - "name":"can_read" -} -EOF -
-prefix=`arv --format=uuid user current | cut -d- -f1` -echo "Site prefix is '$prefix'" -# (Make sure it matches your configured 5-character site prefix.) +Next, create a default project for the standard Arvados Docker images, and give all users read access to it. The project is owned by the system user. -read -rd $'\000' keepservice <+ +EOF +~$ project_uuid=`arv --format=uuid group create --group "{\"owner_uuid\":\"$prefix-tpzed-000000000000000\", \"name\":\"Arvados Standard Docker Images\"}"` +~$ echo "Arvados project uuid is '$project_uuid'" +~$ read -rd $'\000' newlink <<EOF; arv link create --link "$newlink" +{ + "tail_uuid":"$all_users_group_uuid", + "head_uuid":"$project_uuid", + "link_class":"permission", + "name":"can_read" } -EOF -