Hans Karlsen (talk | contribs) No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This tutorial will help | This tutorial will help you set up '''MDriven Turnkey on Microsoft Azure'''. | ||
All the components needed to run MDriven Turnkey (the latest versions of MDriven Server & MDriven Turnkey) | All the components needed to run MDriven Turnkey (the latest versions of MDriven Server & MDriven Turnkey) are available [https://mdriven.net/server here for MDrivenServer] and [https://mdriven.net/turnkey here for MDrivenTurnkey] - you will need both. | ||
You can run MDriven Turnkey on your Azure account or set it up on | You can run MDriven Turnkey on your Azure account or set it up on your local IIS. To set up on a local IIS, see [[Installing MDriven Server on Windows|Installing MDriven Server on Windows.]] | ||
== Setting | == Setting Up on Azure == | ||
To start setting up your Turnkey application go to [https://portal.azure.com '''https://portal.azure.com'''] and log in under your existing account or create the new one. | To start setting up your Turnkey application, go to [https://portal.azure.com '''https://portal.azure.com'''] and log in under your existing account or create the new one. | ||
First you need to create a '''new Web app''' to run your Turnkey application. | First, you need to create a '''new Web app''' to run your Turnkey application. | ||
[[File:Create new Web app.png|none|thumb|528x528px|Create new Web app on Azure]]Enter the name of your application and create or choose existing App Services Plan. | [[File:Create new Web app.png|none|thumb|528x528px|Create a new Web app on Azure]]Enter the name of your application and create or choose an existing App Services Plan. | ||
[[File:Name your app and choose App Services Plan.png|none|thumb|533x533px|Name your app and choose App Services Plan]] | [[File:Name your app and choose App Services Plan.png|none|thumb|533x533px|Name your app and choose App Services Plan]] | ||
Now, we need to add virtual directory, because two applications (MDriven Server & MDriven Turnkey) running on | Now, we need to add a virtual directory, because two applications (MDriven Server & MDriven Turnkey) are running on one site. | ||
Go to "'''Application Settings'''" and scroll down to "'''Virtual applications and directories'''" and create another application called “__MDrivenServer” (double underscore). | Go to "'''Application Settings'''" and scroll down to "'''Virtual applications and directories'''" and create another application called “__MDrivenServer” (double underscore). | ||
Don't forget to make sure the __MDrivenServer is an application of its own ( | Don't forget to make sure the __MDrivenServer is an application of its own (the application check box next to the folder name must be checked). | ||
[[File:Create another webapp called " MDrivenServer".png|none|thumb|685x685px|Create another | [[File:Create another webapp called " MDrivenServer".png|none|thumb|685x685px|Create another web app called "__MDrivenServer"]] | ||
Now, we need to download the | Now, we need to download the publish profile - go to "'''Overview'''" and press "'''Get publish profile'''". | ||
[[File:Get publish profile from Azure.png|none|thumb|690x690px|Get publish profile from Azure]] | [[File:Get publish profile from Azure.png|none|thumb|690x690px|Get the publish profile from Azure]] | ||
When all these steps are done, we are ready to go to [https://portal.mdriven.net '''https://portal.mdriven.net'''] | When all these steps are done, we are ready to go to [https://portal.mdriven.net '''https://portal.mdriven.net'''] | ||
'''Note:''' It is best to do at least the first deploy with Portal (as described below) since you then get the strong password set and init files updated for your installation - but after initial setup you can easily deploy new code for Turnkey + server via OneDrive as described here [[Deploy_Turnkey_on_your_own_Azure_with_OneDrive]] | '''Note:''' It is best to do at least the first deploy with Portal (as described below) since you then get the strong password set and init files updated for your installation - but after initial setup, you can easily deploy new code for Turnkey + server via OneDrive as described here: [[Deploy_Turnkey_on_your_own_Azure_with_OneDrive]] | ||
== Setting | == Setting Up on MDriven Portal == | ||
Open https://portal.mdriven.net and log in under your account. | Open https://portal.mdriven.net and log in under your account. | ||
Go to "'''Views"''' -> "'''Show my Turnkey Sites"''' and "'''Register a New Site"'''. | Go to "'''Views"''' -> "'''Show my Turnkey Sites"''' and "'''Register a New Site"'''. | ||
Name your application and upload publish profile to MDriven Portal and press "Create Turnkey Site" and "Save". | Name your application and upload the publish profile to MDriven Portal and press "Create Turnkey Site" and "Save". | ||
Now, go back to "Show my Turnkey Sites" where you can see that your new site is registered, but not deployed. Click on it and choose "Manage Turnkey Site". | Now, go back to "Show my Turnkey Sites" where you can see that your new site is registered, but not deployed. Click on it and choose "Manage Turnkey Site". | ||
[[File:Manage your Site page.png|none|thumb|694x694px|Manage your site from MDriven Portal]] | [[File:Manage your Site page.png|none|thumb|694x694px|Manage your site from MDriven Portal]] | ||
On " | On the "Manage" page, you can request a deploy of your website. To request deploy, you need to press the "Request Deploy" button and save it. Deploy takes no more than 5 minutes. When the status of your site changes to "Deployed", press "Send Settings and Restart" and save. | ||
After these steps, you can | After these steps, you can revisit your site and see your Turnkey application. | ||
[[File:First look of Turnkey app.png|none|thumb|696x696px|First look | [[File:First look of Turnkey app.png|none|thumb|696x696px|First look at the Turnkey app]] | ||
'''Note!''' Each Turnkey app must have an Index | '''Note!''' Each Turnkey app must have an Index ViewModel. | ||
You can go back to https://portal.mdriven.net/ and open MDriven Designer to start modeling. | |||
== Video Tutorial == | == Video Tutorial == |
Revision as of 07:33, 14 February 2023
This tutorial will help you set up MDriven Turnkey on Microsoft Azure.
All the components needed to run MDriven Turnkey (the latest versions of MDriven Server & MDriven Turnkey) are available here for MDrivenServer and here for MDrivenTurnkey - you will need both.
You can run MDriven Turnkey on your Azure account or set it up on your local IIS. To set up on a local IIS, see Installing MDriven Server on Windows.
Setting Up on Azure
To start setting up your Turnkey application, go to https://portal.azure.com and log in under your existing account or create the new one.
First, you need to create a new Web app to run your Turnkey application.
Enter the name of your application and create or choose an existing App Services Plan.
Now, we need to add a virtual directory, because two applications (MDriven Server & MDriven Turnkey) are running on one site.
Go to "Application Settings" and scroll down to "Virtual applications and directories" and create another application called “__MDrivenServer” (double underscore).
Don't forget to make sure the __MDrivenServer is an application of its own (the application check box next to the folder name must be checked).
Now, we need to download the publish profile - go to "Overview" and press "Get publish profile".
When all these steps are done, we are ready to go to https://portal.mdriven.net
Note: It is best to do at least the first deploy with Portal (as described below) since you then get the strong password set and init files updated for your installation - but after initial setup, you can easily deploy new code for Turnkey + server via OneDrive as described here: Deploy_Turnkey_on_your_own_Azure_with_OneDrive
Setting Up on MDriven Portal
Open https://portal.mdriven.net and log in under your account.
Go to "Views" -> "Show my Turnkey Sites" and "Register a New Site".
Name your application and upload the publish profile to MDriven Portal and press "Create Turnkey Site" and "Save".
Now, go back to "Show my Turnkey Sites" where you can see that your new site is registered, but not deployed. Click on it and choose "Manage Turnkey Site".
On the "Manage" page, you can request a deploy of your website. To request deploy, you need to press the "Request Deploy" button and save it. Deploy takes no more than 5 minutes. When the status of your site changes to "Deployed", press "Send Settings and Restart" and save.
After these steps, you can revisit your site and see your Turnkey application.
Note! Each Turnkey app must have an Index ViewModel.
You can go back to https://portal.mdriven.net/ and open MDriven Designer to start modeling.
Video Tutorial
To make your experience more comfortable, we set the main tags mentioned in the video to the right bar menu of this mini player. Choose the interesting subtitle on the list and immediately get to the exact theme timeplace in the video. Now you can pick any topic to be instructed without watching the whole video.