User Tools

Site Tools


admin:generate_ckan_reports

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
admin:generate_ckan_reports [2018/02/16 14:27]
acorbi [What this guide teaches]
admin:generate_ckan_reports [2020/01/07 14:50]
admin fixed typos
Line 15: Line 15:
  
   * This task requires some basic programming knowledge ​   * This task requires some basic programming knowledge ​
-  * How to edit a python ​source code file +  * How to edit a BASH source code file 
-  * How to execute a python ​script+  * How to execute a BASH script
   * In order to complete this task, you will need access to the password repostory on [[https://​ratticdb.proteus-tech.com:​7078/​|the rattic db instance maintained by Proteus]]   * In order to complete this task, you will need access to the password repostory on [[https://​ratticdb.proteus-tech.com:​7078/​|the rattic db instance maintained by Proteus]]
  
-==== Installing python runtime on your machine ====+==== Setting up your machine ​to be able to execute the script ​====
  
-You can download and install ​the latest version of python from [[https://​www.python.org/​downloads/​|the official python site]]+Depending on the operative system you are using, you would need to do the following:
  
 +- **OSX** and **Linux** users do not need to install any additional software but only be familiar with the Terminal console shipped with all operative system versions.
 +- **Windows** users will need to install terminal software such as https://​putty.org/​ in order to execute the script.
 ==== Cloning or downloading the library of scripts from the data_workstream repostory ​ ==== ==== Cloning or downloading the library of scripts from the data_workstream repostory ​ ====
  
Line 57: Line 59:
 <​code>​./​datasets_by_taxonomy.sh POSTGRESQL_PASS</​code>​ <​code>​./​datasets_by_taxonomy.sh POSTGRESQL_PASS</​code>​
  
-where POSTGRESQL_PASS is the password copied on step 2+where POSTGRESQL_PASS is the password copied on step 2
 + 
 +The script will run for some time (depending on the power of the computer and the network connection) and generate a CSV file with the filename specified on the parameters.
admin/generate_ckan_reports.txt · Last modified: 2020/06/23 15:05 (external edit)