Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 1.31 KB

File metadata and controls

32 lines (17 loc) · 1.31 KB

The factor-analysis-exercise-service is used for creating survey exercises.

Using the service for creating survey exercises

Please visit the user manual page [placeholder]

Development

Run npm ci in the repo root

Run the development server with npm run dev the server is running on localhost:3008

Expose the service to locally running secret-project minikube cluster

using ktunnel. Allows you to test exercises that actually need the database, such as testing the global variables.

Run bin/ktunnel from repo root.

The adress to use in minikube is:

http://factorial-analysis.default.svc.cluster.local:80/api/service-info

When stopping the cluster, the best is to stop the ktunnel exposure before killing the minikube cluster.

If the service is active when minikube is stopped remember to either delete the service from the cluster (see commands in the bin/ktunnel file) or to update the name of the service (factorial-analysis2 for example) which will again affect the local cluster-adress.

Data parser

The program for parsing the submitted exercises is in the data-parser folder. user manual to run the program

User manual for building a survey on the courses.mooc.fi platform