3 navsection: installguide
4 title: Create standard objects
9 Next, we're going to use the Arvados CLI tools on the <strong>shell server</strong> to create some standard objects.
13 The convention is to add every active user to this group. We give it a distinctive UUID that looks like an IP broadcast address.
16 <pre><code>~$ <span class="userinput">prefix=`arv --format=uuid user current | cut -d- -f1`</span>
17 ~$ <span class="userinput">echo "Site prefix is '$prefix'"</span>
18 ~$ <span class="userinput">read -rd $'\000' newgroup <<EOF; arv group create --group "$newgroup"</span>
19 <span class="userinput">{
20 "uuid":"$prefix-j7d0g-fffffffffffffff",
24 </code></pre></notextile>
26 h3. "arvados" repository
28 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.
31 <pre><code>~$ <span class="userinput">prefix=`arv --format=uuid user current | cut -d- -f1`</span>
32 ~$ <span class="userinput">echo "Site prefix is '$prefix'"</span>
33 ~$ <span class="userinput">all_users_group_uuid="$prefix-j7d0g-fffffffffffffff"</span>
34 ~$ <span class="userinput">repo_uuid=`arv --format=uuid repository create --repository '{"name":"arvados"}'`</span>
35 ~$ <span class="userinput">echo "Arvados repository uuid is '$repo_uuid'"</span>
36 ~$ <span class="userinput">read -rd $'\000' newlink <<EOF; arv link create --link "$newlink"</span>
37 <span class="userinput">{
38 "tail_uuid":"$all_users_group_uuid",
39 "head_uuid":"$repo_uuid",
40 "link_class":"permission",
44 </code></pre></notextile>