User Tools

Site Tools


software

Differences

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

Link to this comparison view

Next revision
Previous revision
software [2014/11/17 06:19]
gilberto created
software [2015/01/26 13:03] (current)
gilberto [Additional library for the course]
Line 1: Line 1:
-You are in [[http://​www.geoinformatics.cc | Geoinformatics - Creative Commons]] :: Spatio-Temporal Information for Society ​Course ​:: Software for the Course+You are in [[http://​www.geoinformatics.cc | Geoinformatics - Creative Commons]] :: [[http://​www.geoinformatics.cc/​doku.php?​id=st-society|Spatio-Temporal Information for Society]] :: Software for the Course
  
 ===== Spatio-Temporal Information for Society: Software ===== ===== Spatio-Temporal Information for Society: Software =====
  
-===== Software Description  ​=====+==== Software Description ​ ====
  
 The models described in this course will be developed using [[http://​www.terrame.org | TerraME]]. TerraME is an extension of the [[http://​www.lua.org|Lua]] language. Some useful documents about TerraME: The models described in this course will be developed using [[http://​www.terrame.org | TerraME]]. TerraME is an extension of the [[http://​www.lua.org|Lua]] language. Some useful documents about TerraME:
Line 17: Line 17:
   * {{http://​www.dpi.inpe.br/​gilberto/​cursos/​cst-317-2014/​luaforterrame-version2.pdf|Lua for TerraME: A Short Introduction}}   * {{http://​www.dpi.inpe.br/​gilberto/​cursos/​cst-317-2014/​luaforterrame-version2.pdf|Lua for TerraME: A Short Introduction}}
  
-\\ +==== TerraME ​====
- +
-=== TerraME ===+
  
 Please first install the TerraME software, available at the  [[http://​www.terrame.org |  TerraME site]]. Please install TerraME in "​C:​\TerraME"​ in Windows, or in "/​usr/​local/​terrame/"​ in a Mac or Linux machine. ​ After you have installed TerraME, please follow the instructions below. Please first install the TerraME software, available at the  [[http://​www.terrame.org |  TerraME site]]. Please install TerraME in "​C:​\TerraME"​ in Windows, or in "/​usr/​local/​terrame/"​ in a Mac or Linux machine. ​ After you have installed TerraME, please follow the instructions below.
  
-=== Zero Brane Studio: IDE for TerraME ===+==== Zero Brane Studio: IDE for TerraME ​====
  
 We suggest that you use [[http://​studio.zerobrane.com | ZeroBraneStudio]] as your programming environment for developing TerraME programs. In Windows, please install the program to ''​C:​\ZeroBraneStudio''​. In MAC and Linux, please use the default installation path. We suggest that you use [[http://​studio.zerobrane.com | ZeroBraneStudio]] as your programming environment for developing TerraME programs. In Windows, please install the program to ''​C:​\ZeroBraneStudio''​. In MAC and Linux, please use the default installation path.
  
-After you download ​ZeroBrane, please do the following steps:+After you download ​ZeroBraneStudio (ZBS), please do the following steps:
  
-  - Copy a new [[http://​www.dpi.inpe.br/​gilberto/​terrame/​zerobrane/​user.lua | user.lua]] configuration file to the "​cfg"​ folder where you have installed ​ZeroBraneStudio. In Windows, ​this is "''​C:​\ZeroBraneStudio\cfg''" ​if you have installed the program as instructed above. In the MAC, this is "''/​Applications/​ZeroBraneStudio.app/​Contents/​ZeroBraneStudio/​cfg''"​. In Ubuntu, ​this is "''/​opt/​zbstudio/​cfg''"​. +  - Configuration file: tells ZBS where to find the TerraME interpreter. ​Copy the [[http://​www.dpi.inpe.br/​gilberto/​terrame/​zerobrane/​user.lua | user.lua]] configuration file to the "​cfg"​ folder where you have installed ​ZBS. In Windows, ​it is usually ​"''​C:​\ZeroBraneStudio\cfg''"​. In the MAC, the folder ​is "''/​Applications/​ZeroBraneStudio.app/​Contents/​ZeroBraneStudio/​cfg''"​. In Ubuntu, ​it is "''/​opt/​zbstudio/​cfg''"​. 
-  - Copy the [[http://​www.dpi.inpe.br/​gilberto/​terrame/​zerobrane/​terrame.lua | terrame.lua]] interpreter description file to the "​interpreters" ​ where you have installed ​ZeroBraneStudio. In Windows, this is "​C:​\ZeroBraneStudio\interpreters" ​if you have installed ​the program as instructed above.In the MAC, this is "''/​Applications/​ZeroBraneStudio.app/​Contents/​ZeroBraneStudio/​interpreters''"​. In Ubuntu, ​this is ''/​opt/​zbstudio/​interpreters''​.+  - Interpreter description file: tells ZBS how to use TerraME. ​Copy the [[http://​www.dpi.inpe.br/​gilberto/​terrame/​zerobrane/​terrame.lua | terrame.lua]] interpreter description file to the "​interpreters" ​folder ​where you have installed ​ZBS. In Windows, this folder ​is "​C:​\ZeroBraneStudio\interpreters"​. In the MAC, it is "''/​Applications/​ZeroBraneStudio.app/​Contents/​ZeroBraneStudio/​interpreters''"​. In Ubuntu, it is ''/​opt/​zbstudio/​interpreters''​. 
 +  - Keyword description:​ tells ZBS to highlight both Lua and TerraME keywords. Copy the [[http://​www.dpi.inpe.br/​gilberto/​terrame/​zerobrane/​lua.lua | lua.lua]] keyword description file to the "​spec"​ folder where you have installed ​ZeroBraneStudio. In Windows, this folder is "​C:​\ZeroBraneStudio\spec"​.In the MAC, it is "''/​Applications/​ZeroBraneStudio.app/​Contents/​ZeroBraneStudio/​spec''"​. In Ubuntu, ​it is ''/​opt/​zbstudio/​spec''​.
   - Optional: delete the other interpreters of ZeroBrane (Corona, Guideros, etc.) and leave only Lua, Lua5.2 and TerraME.   - Optional: delete the other interpreters of ZeroBrane (Corona, Guideros, etc.) and leave only Lua, Lua5.2 and TerraME.
  
-=== Additional library for the course === 
- 
-We have created an additional TerraME library to help with the course examples and exercises. 
- 
-Install the {{http://​www.dpi.inpe.br/​gilberto/​cursos/​terrame/​courselib.zip|Library for teaching TerraME}} in the directory <TerraME directory/​contrib/​courselib>​. In Windows, this should be C:/​TerraME/​contrib/​courselib. In Mac and Linux, this should be /​usr/​local/​terrame/​contrib/​courselib. Create the subdirectory <TerraME directory/​contrib/>​ is it does not already exist. 
software.1416212361.txt.gz · Last modified: 2014/11/17 06:19 by gilberto