X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/bf2aee923894b06592fa87977787559bb14aac18..525e81bdbe18ea369f5a61a713e743608bab2e42:/doc/install/install-composer.html.textile.liquid diff --git a/doc/install/install-composer.html.textile.liquid b/doc/install/install-composer.html.textile.liquid index d27db4d4e5..58ba5d03a0 100644 --- a/doc/install/install-composer.html.textile.liquid +++ b/doc/install/install-composer.html.textile.liquid @@ -36,44 +36,29 @@ h2(#update-nginx). Update nginx configuration Composer may be served from the same host as Workbench. Composer communicates directly with the Arvados API server. It does not require its own backend and should be served as a static file. -Use a text editor to create a new file @/etc/nginx/conf.d/arvados-composer.conf@ with the following configuration. Options that need attention are marked with "TODO". +Add the following @location@ sections to @/etc/nginx/conf.d/arvados-workbench.conf@ . -
location /composer {
-  root   /var/www/arvados-composer
-  index  index.html
-}
-
-location /composer.yml {
-  return 200 '{ "API_HOST": "ClusterID.example.com" }';
-}
-
-
- -h2(#install-packages). Install arvados-composer - -h3. Centos 7 - - -
# yum install arvados-composer
-
-
+
server {
+  [...]
 
-h3. Debian and Ubuntu
+  location /composer {
+    root   /var/www/arvados-composer;
+    index  index.html;
+  }
 
-
-
# apt-get --no-install-recommends install arvados-composer
+  location /composer/composer.yml {
+    return 200 '{ "API_HOST": "ClusterID.example.com" }';
+  }
+}
 
-h2(#restart-api). Restart the API server and controller +{% assign arvados_component = 'arvados-composer' %} -After adding Workbench to the Services section, make sure the cluster config file is up to date on the API server host, and restart the API server and controller processes to ensure the changes are applied. +{% include 'install_packages' %} - -
# systemctl restart nginx arvados-controller
-
-
+{% include 'restart_api' %} h2(#confirm-working). Confirm working installation