You can create an MDriven-hosted Turnkey site from MDriven Designer and then select it as your work site for uploading and running a model.
MDriven Turnkey is the web application front end for a model you design in MDriven Designer. A newly created site is initially empty apart from its authorization and login functionality. After the site is deployed, you can upload a model or apply a sample.
Before you start
- Install and run the latest MDriven Designer.
- Start MDriven Designer from its ClickOnce installer. ClickOnce works natively in Internet Explorer; Chrome and Firefox require a ClickOnce plugin.
- Have an MDriven account. You can register from the CloudForm if you do not already have one.
Create a site request
- Open MDriven Designer and open the CloudForm window.
- Register or sign in to your MDriven account.
- Select Back to home or login.
- Select New site Request. The Existing Creation Requests page opens.
- Select Add Creation Request.
- Enter an application name and select Save.
For example, enter MyNewApp as the application name. The hosting service registers the name. If that name is unavailable, the service appends a number to make it unique.
Wait for creation and deployment
After you save the request, the service creates the site and deploys the Turnkey software. The complete process normally takes up to five minutes. You can continue working in MDriven Designer while the status changes.
Use the creation request page to monitor both states:
| Status | Expected progression | Meaning |
|---|---|---|
| Creation state | AvailableForCreationNode â CreationNodeWorking â CreationSuccess
|
The site is queued, being created, and then created successfully. |
| Site state | Deploying â Deployed
|
Turnkey software is being installed on the created site, then the site is ready to use. |
Do not select the site as a work site until its site state is Deployed. If deployment does not reach that state, see New site request to host app at MDriven for the hosted-site request flow and the Turnkey troubleshooting material listed in Documentation:Turnkey.
Select the deployed site
- Select Back to home or login.
- Find the new site in your available sites.
- Select the site as the work site.
Once selected, the CloudForm lets you open the site in an external browser, check service status, and download or upload the model.
Start developing
A new site contains the authorization services but no domain model or application-specific views. You can now choose one of these starting points:
- Create your own model in MDriven Designer, then upload it to the selected site.
- Download the current site model. For a new site, this gives you the empty starting model with login functionality.
- Apply an available sample to the site, then download and modify its model.
For example, you can add a class with attributes in MDriven Designer, create forms for the class, and upload the changed model. The site then updates to include the model and the generated user interface. When you apply a sample, it replaces the model currently on the site; download or preserve any work you need before applying it.
For an overview of Turnkey development and walkthrough videos, see Documentation:MDriven Turnkey Series. For self-hosted installation rather than an MDriven-hosted site, see HowTos:Install MDriven Server and Turnkey on Microsoft Azure or Documentation:Deploying MDriven Server & Turnkey Core on IIS.
