Deploy Turnkey on your own Azure with OneDrive

If you have completed the steps to create the WebApp where the code will reside described here Installing TurnKey as an Azure WebApp - you have the option of using the portal to deploy the code or deploy the code yourself.

These steps also apply if you need to refresh the install and update the versions of MDrivenTurnkey and MDrivenServer.

In Azure find the Deployment Center, and choose OneDrive:

2020-09-18 09h39 04.png

Follow the wizard and give the folder a name - default is the same as the WebApp you work on:

2020-09-18 09h40 09.png

After this step check your local OneDrive, you will find a new folder created here: C:\Users\<YourName>\OneDrive\Apps\Azure Web Apps\<YourApp>

2020-09-18 09h44 30.png

This is the folder from where code will be taken and deployed into your app slot on Azure. It will happen when you press Sync in the resulting screen Deployment center screen:

2020-09-18 09h47 58.png

We now want to insert what code to deploy into your onedrive folder.

Download the latest (or desired) version of MDrivenTurnkey from here :https://mdriven.net/turnkey

Download the latest (or desired) version of MDrivenServer from here :https://mdriven.net/server

You now have two zip files. Open the Turnkey zip file:

2020-09-18 09h53 29.png

navigate down into the Application folder - copy all the contents and paste it into your one drive folder:

2020-09-18 09h57 11.png

In the OneDrive folder - create the container for the MDrivenServer as a directory called __MDrivenServer (two underscores):

2020-09-18 09h59 54.png

Now open the MDrivenServer zip file, navigate to Application and copy its contents to the __MDrivenServer folder:

2020-09-18 10h02 25.png

Now head back to Azure - in is a good idea to STOP your webapp during Sync so that the Sync is not blocked by locked files.

You can follow the progress in Deployment center and see a log that your code has been up updated. After it is done turn on the app and your are done.

This page was edited 47 days ago on 02/10/2024. What links here