User Tools

Site Tools


documentation:software:atlas:setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:software:atlas:setup [2017/10/17 16:27] – anthonysenadocumentation:software:atlas:setup [2019/05/30 20:47] (current) – anthonysena
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
  
-===== ATLAS Setup =====+===== IMPORTANT NOTE ===== 
 + 
 +All ATLAS documentation has moved to [[https://github.com/OHDSI/ATLAS/wiki|GitHub]]. Please disregard the content below as it is legacy and kept for posterity. 
 + 
 +===== ATLAS Setup (LEGACY) =====
  
 The following sections detail the process for setting up Atlas and its dependencies. The following sections detail the process for setting up Atlas and its dependencies.
Line 13: Line 17:
 To use the [[documentation:software:atlas:data-sources|Data Sources]] feature within ATLAS you must first [[documentation:software:achilles|setup and execute ACHILLES]] in your environment. Once you have successfully generated summary statistics, you are ready to configure ATLAS to use this information. To use the [[documentation:software:atlas:data-sources|Data Sources]] feature within ATLAS you must first [[documentation:software:achilles|setup and execute ACHILLES]] in your environment. Once you have successfully generated summary statistics, you are ready to configure ATLAS to use this information.
  
-==== ATLAS Installation ====+**Please note**: If you utilized Achilles prior to v1.4, please refer to the article [[documentation:software:atlas:achilles_v_1_5|Achilles v1.5.0 Dependencies For WebAPI/Atlas]] as Atlas/WebAPI v2.2.0 will require some additions to the Achilles output. 
 +==== ATLAS Installation (V2.2.0 and later) ====
  
 Begin by downloading the latest release of [[https://github.com/OHDSI/Atlas/releases/latest|ATLAS from GitHub]]. Begin by downloading the latest release of [[https://github.com/OHDSI/Atlas/releases/latest|ATLAS from GitHub]].
Line 21: Line 26:
   http://<your_webserver>/atlas   http://<your_webserver>/atlas
  
-Under the Atlas root folder, edit the file /js/config.js to configure the following properties:+Under the Atlas root folder, create the file /js/config-local.js to configure the application. **Please note: the file /js/config-local.js is __not__ included in the Atlas repository. This is by design so that you may have environment-specific configuration. ** Config-local.js will override the settings found in /js/config.js as shown here:
  
 <code javascript> <code javascript>
 define([], function () { define([], function () {
-  var config = {}; + var configLocal = {}; 
-  config.services = [{ + 
-    name: '<YOUR ENVIRONMENT NAME>', + configLocal.api = { 
-    url: 'http://your_webserver/WebAPI/' + name: 'My Organization Name', 
-  }]; + url: 'https://webapi.server.com/WebAPI/' 
-             + }; 
-  config.webAPIRoot = config.services[0].url; + 
-         + return configLocal;
-  config.dataSourcesLocation = '/achilles/data/datasources.json'; +
-  config.dataSourcesRoot = '/achilles/data'; +
-   +
-  return config;+
 }); });
 </code> </code>
  
-config.services: Edit this array to provide a name for your environment and the URL for the WebAPI that was set up in WebAPI section. +In the example above, the /js/config-local.js overrides the corresponding ".api" property found in /js/config.js and allows for custom configuration for your environment. The same pattern can be used to override the other settings in /js/config.js.
- +
-config.dataSourcesLocation & config.dataSourcesRoot **//(v1.x of Atlas - these configuration settings are no longer required in v2.0)//**: If you have set up your CDM statistics (Achilles), these properties should be set to the URL where your CDM statistics resides. In the configuration below, we are using a relative path since we assume you have hosted your CDM statistics on the same web server as ATLAS but under a different directory.+
  
-You should now be able to navigate to ATLAS from your web browser. +Once this is complete, you should now be able to navigate to ATLAS from your web browser. 
  
   http://<your_webserver>/atlas   http://<your_webserver>/atlas
documentation/software/atlas/setup.1508257624.txt.gz · Last modified: by anthonysena

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki