CourseMapper is a collaborative course annotation and analytics platform that fosters collaboration and interaction around pdf/video learning materials, supported by visual learning analytics.
- Production:
coursemapper.de
(branch
main) - Preview:
br-dev.coursemapper.de
(branch
dev)
Note: Stable releases are currently not running in production.
- Set up
.envfile (see.env.dist) - Build and run
make upto run the application using Docker Composemake tiltto automatically rebuild during development using Tiltmake mountedto run processes using Docker Compose, but mount source code from host machine
- Visit the proxy service on port 8000 to use the application.
The services making up the coursemapper-webserver application are released as container images, hosted on GitHub Packages. Additional third-party images used:
- MongoDB: mongo (official image)
- Neo4J: neo4j (official image)
- Redis: redis (official image)
Step by step manual for setting up a development machine running a desktop environment
- Download NodeJS (v16.14.2) from the official website
- Download MongoDB Community Server and MongoDB Compass and install them
- Neo4j Desktop from the official website, install it, start the server, and login to the server.
- Redis from the Redis releases page and install it
- Download Postman and install it
- Download and install Github Desktop official website
-
Using your file explorer, go inside the directory
webserver, copy theexample.envfile and paste it in the same folder. Rename the copied environment file to.env -
Open a command prompt/terminal in the
webserverdirectory -
Type the command in the command prompt/terminal to install node packages
npm ci
If you face issue with
npm cicommand, trynpm installornpm install --forcecommand. Caution:npm installandnpm install --forcewill delete all the existing node packages, install the new ones and update thepackage-lock.jsonfile. Please make sure you do not push your changes to thepackage-lock.jsonfile. -
After the packages are installed, type the following command to run the server
npm run watch:dev
The server will run at http://localhost:8080
-
Stop the server by pressing
Cntl + cinside the command prompt
-
Open a command prompt/terminal in the
webappdirectory -
Type the command in the command prompt/terminal to install the Angular CLI
npm i -g @angular/cli
-
Type the command in the command prompt/terminal to install node packages
npm ci
-
After the packages are installed, type the following command to run the server
ng serve
The server will run at http://localhost:4200
-
Stop the server by pressing
Cntl + cinside the command prompt
See README.md in the coursemapper-kg/concept-map directory and README.md in the coursemapper-kg/recommendation directory for installation instructions.
- Open the Postman software and import the file
CourseMapper.postman_collection.jsonfound underdocsfolder
- Open MongoDB Compass and type
mongodb://localhost:27017in the URI textbox and press connect button - Find the database
coursemapper_v2in the left panel