- Make sure Docker is installed on your system.
- Navigate to the
/WebMLOpenEO/app/node-backend
in your terminal. - Run the following command to build the Docker image:
docker build -t node-backend .
- Run the following command to run the application:
docker run -p 3000:3000 --name node-backend node-backend
-
Make sure node.js is installed on your system.
-
Navigate to
/WebMLOpenEO/app/node-backend
in your terminal. -
Run the following command to install all dependencies:
npm install
-
Run the following command to run the application:
npm start
-
Make sure node.js is installed on your system.
-
Navigate to
/WebMLOpenEO/app/node-backend
in your terminal. -
Run the following command to install all dependencies:
npm install
-
Run the following command to test the application:
npm test
Attention! As this app is heavily dependent on the R-backend, 6 out of 14 tests will fail if the R-backend is not accessible. To start it, please refer to its README.
-
Make sure node.js is installed on your system.
-
Navigate to
/WebMLOpenEO/app/node-backend
in your terminal. -
Run the following command to install all dependencies:
npm install
-
Run the following command to execute a single test "xyz.test.js":
npm test <xyz>