Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.02 KB

README.md

File metadata and controls

44 lines (26 loc) · 1.02 KB

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.