Skip to content

CandyDong/Music-Page-Flip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pageFlipper

How to Run the Web Application Along with the MIDI Tracker Program

Run the MIDI tracker program

Open up another commandline in Candy_Dong/midiTracker and type

python3 readLiveMidi.py

The program will wait until the web application gets user input and sends the title of the sheet music back. Once received, the program starts running, reads in live midi input from the midi keyboard, and sends a flip page signal back to the webserver once the user reaches the end of page.

Prepopulating database with RPI data

Open up commandline in Lily_Du/develop/Web, and write RPI data in pageFlipper/fixtures/rpis.json to be loaded to database

python3 manage.py loaddata rpis.json

Run the Web Application

python3 manage.py runserver

The lifetime of the MIDI tracker program is the same as the web application, that is to say, upon reboot of the web application, the MIDI tracker program requires a manual reboot as well.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published