https://github.com/rage/factor-analysis-exercise-service
https://github.com/rage/factor-analysis-exercise-service
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rage/factor-analysis-exercise-service
- Owner: rage
- License: apache-2.0
- Created: 2022-06-29T11:16:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T08:46:28.000Z (about 2 years ago)
- Last Synced: 2024-05-28T22:46:32.612Z (about 2 years ago)
- Language: TypeScript
- Size: 13 MB
- Stars: 1
- Watchers: 7
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://github.com/omrikiei/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](./bin/ktunnel)) 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](./data-parser/) folder.
[user manual](./data-parser/README.md) to run the program
### [User manual](./docs/usermanual.md) for building a survey on the courses.mooc.fi platform