Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
bin
 
 
 
 
 
 
db
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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.

Development

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 http://localhost:3000/ (GraphiQL will be available at http://localhost:3000/graphiql). The React app will run on http://localhost:3001/.

Deployment

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.

About

Collections of Cinema and Media Music: guide to archival collections of film and media music

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.