CS5647 Project: A piano evaluation system for learning
- Download the model from: https://zenodo.org/record/4034264#.Y2FBBmlBw2x
- Add the model file into pianoes/server/model/
- In the 'pianoes' folder, run
docker-compose up
- Ensure that 'node_modules' has been created under 'client' folder, else run
docker-compose down
to remove images and containers, and runnpm install
, then rundocker-compose up
. - Wait and open http://localhost:3000 to view it in your browser once it is ready.
If docker build process is throwing this error:
WARNING: Retrying (Retry(...)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x...>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')
Then follow these steps:
-
Log into Ubuntu as a user with sudo privileges.
-
Open the
/etc/default/docker
file for editing:
$ sudo nano /etc/default/docker
-
Add the following setting for Docker.
DOCKER_OPTS="--dns 8.8.8.8"
-
Save and close the file.
-
Restart the Docker daemon:
$ sudo systemctl restart docker
or$ sudo service docker restart
- git pull (to get latest version)
- git add . ( if you create a new file )
- git commit -m "type a description"
- git checkout -b "branch name"
- gh pr create ( to create pull request )