-
Notifications
You must be signed in to change notification settings - Fork 3
Procedure to Release New Version
Do not click the checkboxes on this page. This is the template you will be copying.
- Click on Edit and copy the numbered steps below.
- Click on the Issues tab. Click on New Issue.
- Title the new issue Bump to 1.0.x. Paste the numbered steps into the Issue.
============ Cut and paste everything below this line ============
- Make sure code is formatted and bug-free
- reformat tests, src and res/
- run tests
- Updating the Golang-based Diarizer Server
First, test it on the test server:
ssh -i /c/Users/saint/.ssh/id_github [email protected]
cd $GOPATH/src/github.com/blabbertabber/speechbroker
git pull -r
go build
sudo setcap cap_setgid+ep speechbroker
sudo systemctl stop diarizer.service
sudo -u diarizer ./speechbroker
-ibmServiceCredsPath=/etc/speechbroker/ibm_service_creds.json
-speedfactorsPath=/etc/speechbroker/speedfactors.json
sudo cp speechbroker /usr/local/bin/ sudo setcap cap_setgid+ep /usr/local/bin/speechbroker sudo systemctl start diarizer.service Then install and test on the production server (identical instructions as the test server's, with the exception of the first line, where we ssh into the server):
ssh -i /c/Users/saint/.ssh/id_github [email protected]
cd $GOPATH/src/github.com/blabbertabber/speechbroker
git pull -r
go build
sudo setcap cap_setgid+ep speechbroker
sudo systemctl stop diarizer.service
sudo -u diarizer ./speechbroker
-ibmServiceCredsPath=/etc/speechbroker/ibm_service_creds.json
-speedfactorsPath=/etc/speechbroker/speedfactors.json
sudo cp speechbroker /usr/local/bin/ sudo setcap cap_setgid+ep /usr/local/bin/speechbroker sudo systemctl start diarizer.service 2. Updating the HTML/CSS/JS
First, test. Webstorm should be configured to point to the test server by default, so your changes should be automatically, instantaneously, published there.
Here are several good urls to test (8, 10, 12, 16 speaker colors, respectively):
https://test.diarizer.com/?m=test https://test.diarizer.com/?m=test-10 https://test.diarizer.com/?m=test-12 https://test.diarizer.com/?m=test-16 Also, to view the raw files within a directory, remove the ?m= from the URL (or the ?meeting=), e.g.:
https://test.diarizer.com/test When everything works, you can publish to production: in Webstorm: Tools → Deployment → Upload to ... → diarizer.com
If you want to upload a wav file without using the Android client, here's an example:
curl -F "meeting.wav=@/Users/cunnie/Google Drive/BlabberTabber/ICSI-diarizer-sample-meeting.wav" https://test.diarizer.com:9443/api/v1/upload