-
Notifications
You must be signed in to change notification settings - Fork 1
SickBeetz Installation Instructions
Corey Grief edited this page Jun 10, 2015
·
6 revisions
#Welcome to the SickBeetz wiki! ##Installation Instructions ###Setup Script SickBeetz's setup script currently supports Ubuntu and Fedora/RHEL. If you are using another platform, please follow the Alternate Instructions.
-
Clone this repository into the directory of your choice
-
Run the setup script:
- for Ubuntu:
sudo bash setupUbuntu.sh
- for Fedora/RHEL:
sudo bash setupRH.sh
-
Restart your terminal
-
Navigate to the SickBeetz/web directory
-
Start the server:
pm2 start app.js
###Alternate Instructions If you are using an operating system other than Ubuntu and Fedora/RHEL, you should follow these instructions
- Clone this repository into the directory of your choice
- Update the system with your package manager of choice:
- install gcc
- install bzip2
- install libSM
-
Install NodeJS
-
Install node dependencies from inside of the web folder:
cd web
npm install
npm install pm2 -g
npm install bower -g
bower install
-
Install Miniconda
-
Install python dependencies:
conda install numpy
conda install scipy
conda install matplotlib
conda install scikit-learn
pip install librosa
- Forward port 80 to port 5000:
sudo iptables –A INPUT –i eth0 –p tcp -–dport 80 –j ACCEPT
sudo iptables –A INPUT –i eth0 –p tcp -–dport 5000 –j ACCEPT
sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 5000
- Start the app from the web folder:
pm2 start app.js
##Testing Installation
- Visit your VM Public IP address (ensure that port 80 is open). You should see the following screen:
- Input an audio file to the system
- Click submit and wait for the response (on first load, the app will take a while to update the classifier, subsequent requests will be much faster)