10000 GitHub - coucoulesr/osu-cs-340
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

coucoulesr/osu-cs-340

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CourseSignal

CourseSignal is a course evaluation tool allowing students to rate and review individual assignments for a course, closing the feedback loop between instructor preparation and student experience.

Build and Run CourseSignal

The simplest way to build and run CourseSignal is with Docker.

To run CourseSignal in development mode, cd into the docker directory and run

docker-compose -f docker-compose.yml -f docker-compose.dev.yml up

This brings up docker containers corresponding to the various CourseSignal services.

Database

On first run, the database is populated using the SQL scripts in the database/setup directory. In development mode, the CourseSignal tables are written to the test database. If these scripts are changed in any way, the container should be rebuilt by running the command docker-compose build from the docker directory.

The container is set up to mirror the contents of /var/lib/mysql onto the host filesystem in the database/data directory. To reset the database and run the setup scripts again, stop docker-compose, delete the database/data directory, and run docker-compose again.

To explore the database in the command line, while docker-compose is running, open another terminal and run

docker exec -it (docker ps --filter "label=container_name=coursesignal_db" -q) mysql

Build Issues

If the CourseSignal service is having trouble finding dependencies (e.g. express, nodemon, etc.), try rebuilding the containers by running docker-compose build from the docker directory and restarting Docker compose. If you still run into dependency issues, try deleting the node_modules directory from within the frontend directory and installing dependencies from inside the frontend container:

docker exec -it (docker ps --filter "label=container_name=coursesignal_service" -q) npm install

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0