3 navsection: installguide
4 title: Install Workbench 2
7 Copyright (C) The Arvados Authors. All rights reserved.
9 SPDX-License-Identifier: CC-BY-SA-3.0
12 # "Update config.yml":#update-config
13 # "Update Nginx configuration":#update-nginx
14 # "Install arvados-workbench2":#install-packages
15 # "Restart the API server and controller":#restart-api
16 # "Confirm working installation":#confirm-working
17 # "Trusted client setting":#trusted_client
19 Workbench2 is the web-based user interface for Arvados.
21 {% include 'notebox_begin' %}
22 Workbench2 is the replacement for Arvados Workbench. Workbench2 is suitable for day-to-day use, but does not yet implement every feature of the traditional Workbench.
23 {% include 'notebox_end' %}
25 h2(#configure). Update config.yml
27 Edit @config.yml@ to set the keys below. The full set of configuration options are in the "Workbench section of config.yml":{{site.baseurl}}/admin/config.html
32 ExternalURL: <span class="userinput">"https://workbench2.ClusterID.example.com"</span>
36 h2(#update-nginx). Update Nginx configuration
38 Workbench2 does not require its own database. It is a set of html, javascript and css files that are served as static files from Nginx.
40 Use a text editor to create a new file @/etc/nginx/conf.d/arvados-workbench2.conf@ with the following configuration. Options that need attention are marked in <span class="userinput">red</span>.
45 server_name workbench2.<span class="userinput">ClusterID.example.com</span>;
46 return 301 https://workbench2.<span class="userinput">ClusterID.example.com</span>$request_uri;
51 server_name workbench2.<span class="userinput">ClusterID.example.com</span>;
53 ssl_certificate <span class="userinput">/YOUR/PATH/TO/cert.pem</span>;
54 ssl_certificate_key <span class="userinput">/YOUR/PATH/TO/cert.key</span>;
58 # <span class="userinput">Workbench2 uses a call to /config.json to bootstrap itself</span>
59 # <span class="userinput">and find out where to contact the API server.</span>
60 location /config.json {
61 return 200 '{ "API_HOST": "<span class="userinput">ClusterID.example.com</span>" }';
65 root /var/www/arvados-workbench2/workbench2;
67 try_files $uri $uri/ /index.html;
68 if (-f $document_root/maintenance.html) {
76 h2. Vocabulary configuration
78 Workbench2 will load, if available, a vocabulary definition which lists available metadata properties for groups and collections. To learn how to configure the property vocabulary definition, please visit the "Metadata Vocabulary Format":{{site.baseurl}}/admin/metadata-vocabulary.html page in the Admin section.
80 {% assign arvados_component = 'arvados-workbench2' %}
82 {% include 'install_packages' %}
84 {% include 'restart_api' %}
86 h2(#confirm-working). Confirm working installation
88 Visit @https://workbench2.ClusterID.example.com@ in a browser. You should be able to log in using the login method you configured in the previous step. If @Users.AutoAdminFirstUser@ is true, you will be an admin user.