The University of Auckland server can be accessed from anywhere within the University network. This can be done using Remote Desktop Connection, and the website address. (mpai-speak.uoa.auckland.ac.nz) If you are unable to access the server, contact IT services and request access.
The website is hosted through IIS 8 and the website code is stored in the C:\Users\Public\Documents\Updated MPAi directory. IIS 8 can be accessed as a feature through the Server Manager.
Through the IIS Manager, the website can be managed as any other website. It is advised that future developers have some experience with this software - learning how to use it was a significant challenge during this project.
The IIS manager was used to generate a self-signed SSL certificate. This has an expiry date and can be generated using the IIS Manager. Select "Server Certificates", then under actions, select "Create Self-Signed Certificate..." and follow the steps.
Any changes to the back-end C# code should be compiled using Visual Studio and uploaded to the directory above in order to take effect - the server executes the compiled binaries, rather than compiling the code itself.
Changes to HTML, CSS, and Javascript files on the server will take effect once the client refreshes, as these files are sent to the client's browser when the page is loaded.
Changes to the HTK folder will take effect immediately, as a new HTK process is started each time analysis is required.
Data is stored in the MPAiDb.sqlite file. Values are stored in plain text, so are partially human readable. If the database has to be rebuilt, delete this file - MPAi will automatically rebuild it using the files in the audio directory the next time the database is needed.
In the case of server-side 400 or 500 level errors, checking the Windows logs in the Event Viewer might prove useful in tracking down the cause of the issue. Additionally, if MPAi seems to be in an error state, it can be restarted from the IIS Manager.