C2M2: Collections of Cinema and Media Music
A guide to archival collections of film and media music created by Sienna M. Wood, Ph.D., software engineer and musicologist, and Michael W. Harris, Ph.D., librarian, archivist, and musicologist. See the ongoing project at http://www.c2m2.org.
This project consists of a Ruby on Rails back-end serving a GraphQL endpoint, and a React front-end with the Apollo client. The database is Postgres. To run on your local machine:
// copy code to your computer git clone https://github.com/siennamw/c2m2.git // install Ruby dependencies cd c2m2 bundle // install JavaSript dependencies cd client yarn // run cd .. bin/rake start
The Rails server will run on
(GraphiQL will be available at
The React app will run on
This project is set up to be deployed to Heroku. In production there is only one server. The React
app is built, then the build is moved to
/public where it is served up by the Rails server in
addition to the GraphQL endpoint.