ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / WEBDEV specific features / WEB server
  • Overview
  • How to?
  • Required configuration
  • Running the image (creation of the container)
  • Notes (important)
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Docker image of the WEBDEV Application Server
Overview
From with version 24, a Docker container with the WEBDEV Application Server can be found in Docker Hub:
https://hub.docker.com/r/windev/webdev
Setting up a Linux WEBDEV Application Server becomes extremely simple: 1 line to type or script!
Depending on the type of server (10 or unlimited simultaneous connections), you will be asked for the server's serial number.
Remark: Only the 64-bit version is available.
How to?

Required configuration

  • The site must be suitable for Linux deployment. The option "Enable compilation errors for Linux compatibility" must be enabled. This option is available in the "Compatibility" tab, in the description window of the current configuration.
  • The Linux distribution used does not matter. However, to use the Docker container that contains the WEBDEV Application Server, it is necessary to be familiar with Docker and, in particular:
    • know how to install a new container from the Docker image of the WEBDEV Application Server,
    • manage at least one volume required for data persistence,
    • manage network configuration inside Docker. For example, you must be able to handle the case where one or more containers with the WEBDEV Application Server image need to access data hosted by an HFSQL Client/Server server.

Running the image (creation of the container)

  • The name of the preset image is:
    "windev/webdev:<Version>"
  • You must activate the application server by passing the serial number on the command line. The parameter to pass must be in the following format:
    --configuration="<Serial number>-<Activation key>"
    If this parameter is not specified,a 10-connection application server will be used.
  • To persist applications and their data (e.g. if the image changes), you must:
    • Use a volume. The command to create a volume:
      "docker volume create <VolumeName>"
    • Mount the volume into the container on
      "/var/lib/WEBDEV/<major.minor version>/"
  • Both a WEBDEV account and a Linux account named "webdevuser" will be created:
    • A password will be generated and assigned to them.
    • It is important to see the container output:
      • by performing an interactive start with "-it",
      • by consulting the container logs with the syntax:
        "docker logs <container ID>"
Example of command line:
docker run -p 80:80 -v WB:/var/lib/WEBDEV/24.0/
windev/webdev:FR240054h --configuration="<Serial number>-<Activation key>"

Notes (important)

  • If a new container uses data from an existing volume (for example, data from a previous container after an image update: WEBDEV (minor) version change:
    • This operation is possible only with the same major version.
    • Caution: A new password is created. This password is applied to the "webdevuser" WEBDEV and Linux accounts, so you need to change the password for future site deployments.
  • To connect to the remote administrator "http[s]://<server>/WDAdminWeb":
    • The WEBDEV deployment account:
      webdevuser/<Password generated and displayed>
  • The library libqtgui5 is installed: the generated images and printouts are available. However, only one font is installed.
  • Reminder of basic Docker commands:
    • Stop a container:
      "docker stop <ID>"
    • Restart a container:
      "docker start <ID>"
    • Caution! No interactive start:
      "docker start -i <ID>"
      This sends the SIGWINCH signal that Apache interprets as a stop command.
Minimum version required
  • Version 24
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help