Run MeasureThat.net application on Linux: building and running the application
It is written with .Net Core, the new cross-platform framework from Microsoft. Actual MeasureThat.net application is hosted in the Microsoft Azure. It uses SQL Server as a database.
But it is possible to run the exact same application on the Linux machine using PostgreSQL as a database. This post shows how it can be done.
To be able to follow the steps described here you will need to have machine with Linux installed. I used Virtual Machine with Ubuntu 16.04:
Now everything is ready to build the application. Step into the folder with source code (MeasureThat.net/src/BenchmarkLab$) and run restore dotnet, npm and bower packages (it will take couple of minutes):
Build the application:
Build should succeed:
Prepare the configuration file
Open appsettings.json file in the text editor and:
Disable External authentication: set UseFacebookAuthentication / UseGoogleAuthentication / UseTwitterAuthentication / UseMicrosoftAuthenticaiton to false (Please let me know in the commens if you want to be able to use External authentication, I can explain how it can be done )