X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f9d9a61219a3e23c1867d12596e6af8e550f0e50..73c880171652a0fd41e38b47de02fc79e4ae05d2:/doc/install/install-composer.html.textile.liquid?ds=sidebyside
diff --git a/doc/install/install-composer.html.textile.liquid b/doc/install/install-composer.html.textile.liquid
index f0938e860d..58ba5d03a0 100644
--- a/doc/install/install-composer.html.textile.liquid
+++ b/doc/install/install-composer.html.textile.liquid
@@ -11,57 +11,55 @@ SPDX-License-Identifier: CC-BY-SA-3.0
Arvados Composer is a web-based javascript application for building Common Workflow Languge (CWL) Workflows.
-h2. Prerequisites
+# "Install dependencies":#dependencies
+# "Update config.yml":#update-config
+# "Update Nginx configuration":#update-nginx
+# "Install arvados-composer":#install-packages
+# "Restart the API server and controller":#restart-api
+# "Confirm working installation":#confirm-working
-In addition to Arvados core services, Composer requires "Arvados hosted git repositories":install-arv-git-httpd.html which are used for storing workflow files.
+h2(#dependencies). Install dependencies
-h2. Install
+In addition to Arvados core services, Composer requires "Arvados hosted git repositories":install-arv-git-httpd.html which are used for storing workflow files.
-Composer may be installed on the same host as Workbench, or on a different host. Composer communicates directly with the Arvados API server. It does not require its own backend and should be served as a static file.
+h2(#configure). Update config.yml
-On a Debian-based system, install the following package:
+Edit @config.yml@ and set @Services.Composer.ExternalURL@ to the location from which it is served:
+~$ sudo apt-get install arvados-composer
-
Services:
+ Composer:
+ ExternalURL: https://workbench.CusterID.example.com/composer
-~$ sudo yum install arvados-composer
-
+server {
+ [...]
-Add Composer to your Nginx configuration. This example will host Composer at @/composer@.
+ location /composer {
+ root /var/www/arvados-composer;
+ index index.html;
+ }
-
-location /composer {
- root /var/www/arvados-composer
- index index.html
+ location /composer/composer.yml {
+ return 200 '{ "API_HOST": "ClusterID.example.com" }';
+ }
}
-
-
-h3. composer.yml
+
-API_HOST: zzzzz.arvadosapi.com -+{% include 'install_packages' %} -h3. Workbench link to composer +{% include 'restart_api' %} -Edit @config.yml@ and set @Services.Composer.ExternalURL@ to the location from which it is served: +h2(#confirm-working). Confirm working installation -
Clusters:
- zzzzz:
- Services:
- Composer:
- ExternalURL: https://workbench.zzzzz.arvadosapi.com/composer
-