Skip to content

Portal de la infraestructura Institucional de Datos del IAvH.

License

Notifications You must be signed in to change notification settings

PEM-Humboldt/portal-i2d

Repository files navigation

Portal de la Infraestructura Institucional de Datos del IAvH

Requirements

  • NodeJs v10.14.2
  • Docker v18.06.1

Run

run npm start to run the app in development mode

Deploy

Build image

Build the image with docker build -t portal-i2d:1.0.0 .

Run the container

Run a new container with docker run --restart always --name portal-i2d -p 3000:3000 -d portal-i2d:1.0.0

Usage:

Access to main page for performing searches:

The web service paths are these:

GET request examples:

Tests:

After running the web service, type in another console:

node test/tests.js

in order to start the tests.