Skip to content

ReGIS-org/regis

Repository files navigation

ReGIS: Research Environment for GIS

This project is the front-end for ReGIS. It is based on the csWeb framework and adds functionality to run GIS simulations and models on compute infrastructure using GIS-Sim

Getting started

The easiest way to use ReGIS is to install the stack by following the instructions at readthedocs

For developers

If you want to develop your own implementation based on ReGIS the installation instructions are below.

Tools

We depend on node and bower and use typescript to develop. You can install all necessary tools by invoking:

npm i -g typescript bower nodemon http-server

Dependencies

We depend on csWeb created by TNO.

Getting and compiling csWeb.

Clone the csWeb project into a directory and build it:

git clone https://github.com/TNOCS/csWeb

cd csWeb
npm install
gulp init

Now we need to make sure csWeb is available for npm and bower to use in the sim-city-cs project. To do this we link the project in the following way:

bower link

cd out/csServerComp
npm link

Compiling and Running sim-city-cs

  1. Install the yarn and bower dependencies:
yarn install
cd public && bower install && cd ..
  1. Link the csWeb npm and bower components:
npm link csweb
cd public && bower link csweb && cd ..
  1. Build the project using gulp and start the server
gulp
gulp serve

Credit

Icons used in projects:

  • Flame by Nadav Barkan from the Noun Project