Publish The Application

Publish your WEM project

In the previous sections we’ve tested our WEM project by using the Preview feature. This enables you to preview all the work (flowcharts, user interactions, integrations) you just created. But when you want to let your project be available for other end-users (for testing, acceptance or production purposes), you would like to release a public URL (Uniform Resource Locator) and publish your project to it. For more detailed information check our online documentation.

WEM provides three separated servers: development (preview purposes), staging (test and acceptance purposes) and live (production purposes). All the modelling in the previous sections are done at the development server. When you want your application to be publicly accessible then you have to publish your project to a public URL. You have to publish it to the staging or to the live server.

Publish to staging

Return to Home tab of the modeler and click on the root Home My project icon.

The projects settings appears. Here you can define all your project settings. For more detailed information check our online documentation.

Next click on the Default option and scroll down to Staging configuration.

screenshot-publish-2

Next click on + Add hostname. Here you can enter a hostname (a URL without the http://)

screenshot-publish-3

Use the staging hostname convention [own-name].staging.wem.io [own-name] can be any name that complies with the following rules: allowed characters are all letters and numbers and the minus sign. All other characters, such as & +,. *! % _ etc, are not allowed. Do not use spaces, trimmer and accented characters either.

Examples of staging hostnames: my-crm.staging.wem.io, mycrmproject.staging.wem.io, alex.staging.wem.io, introduction-crm.staging.wem.io

When you enter a hostname or make other modifications to the Project settings WEM will notice that the project has been modified. To preserve the modifications you will have to save changes by clicking on the Save changes button in the top menu of the modeler.

screenshot-publish-4
publish

Now you can publish your project to the staging server. Click in the project top bar on the publish icon ().

screenshot-publish-5

The Publish window appears.

screenshot-publish-6

Next click on the grey arrow between [Default] (Portal) and [not yet published] (Staging). The grey arrow changes into a green arrow and the Publish button is activated (lit green).

screenshot-publish-7

Click on Publish and the project is published to the staging server. If everything goes well, the following message will appear. Click Ok.

screenshot-publish-8

You can test your application by opening a browser and typing your hostname in the browserpane.

screenshot-publish-10
screenshot-publish-9
screenshot-publish-11

Note: because the staging server is a completely separate environment (also the data model lists), no data is yet available.

Publish to live

You can follow the same steps when publishing to the live server as publishing to the staging server. The only difference is the convention for the live hostname.

Use the live hostname convention [own-name].live.wem.io [own-name] can be any name that complies with the following rules: allowed characters are all letters and numbers and the minus sign. All other characters, such as & +,. *! % _ etc, are not allowed. Do not use spaces, trimmer and accented characters either.

Examples of staging hostnames: my-crm.live.wem.io, mycrmproject.live.wem.io, alex.live.wem.io, introduction-crm.live.wem.io

screenshot-publish-12

Note: don’t forget to save the project changes by clicking on Save changes in the top menu of the modeler.

publish

Now you can publish your project to the live server. Click in the project top bar on the publish icon ().

Next click on the grey arrow between Staging and Live. The grey arrow changes into a green arrow and the Publish button is activated (lit green). Click Publish.

screenshot-publish-13
screenshot-publish-14

Note: you can also publish to Staging as well to Live at the same time. Just click both of the arrows and click Publish.

Use a specific domain and SSL certificates

You can refer your WEM application to a specific domain. Before you can use the staging environment (e.g. for acceptance testing) you need to specify the hostname that is used to access the project. The same applies to the production environment: you need to specify the hostname that is used to access your project in the production environment.

When you want to use HTTPS, then you will have to install a SSL certificate.

Back

You can go back to your first WEM application or go back to the integration section.

 +31 (0)20 240 21 20       

Videos and images courtesy of WEM Modeler. © 2019. WEM Modeler.
SitemapPrivacy - Terms - Company

 +31 (0)20 240 21 20       


Videos and images courtesy of WEM Modeler.
© 2019 WEM Modeler.
SitemapPrivacy - Terms - Company