The unofficial app of the 2017 Duluth Homegrown Music Festival
- Install one of the following:
- Visual Studio 2017 (free Community Edition works great) + the optional Xamarin tools during installation
- Visual Studio for Mac
- Xamarin Studio (currently my preference, until VS for Mac stabilizies a little more)
- Open
App/HGMF2017.sln
usng one of the above. - Rename the
App/HGMF2017/SettingsTemplate.cs
file toApp/HGMF2017/Settings.cs
. Note thatSettingsTemplate.cs
is excluded from the solution intentionally, so you'll need to rename this file via your file system. When you do this, theSettings.cs
file that Visual Studio may have complained is missing will now be present in the solution. - Replace all the values in
Settings.cs
with your various API keys.
You may not need all the API keys that you see in Settings.cs
. If you poke around in the code, you'll see that I'm using some services for crash reporting and analytics, like Pyze and Azure Mobile Center. If you don't need these, then just remove the few lines of code that enable these things:
If you want the app to function properly, at the bare minimum you'll need an Azure account (for hosting the Azure Function code) and a Twitter developer account (for pulling in the tweets). Enter the relevant API keys for these services in the Settings.cs
file.
- Deploy the files from each of the folders in
Backend/Azure Functions
to an Azure Function instance. So, you'll create an Azure function forSchedule
and another forTwitterSearchQueryProvider
. - Update the URL of the
Schedule
Azure Function in theApp/HGMF2017/Data/DayDataSource.cs
file. - Update the URL of the
TwitterSearchQueryProvider
Azure Function in theApp/HGMF2017/Data/DayDataSource.cs
file.