General Overview
Publishing is the process of deploying applications/projects developed in Scriptcase to be accessed by end-users. This process involves generating the project’s files and configuring the production environment.
In Scriptcase, there are two types of publishing.
Typical Publishing {id-01}
A simplified and automated publishing process. In this type of publishing, the configurations of the production environment directories and the project connection names are set by default. Thus, all the necessary files for the system’s operation are placed inside the _lib folder when generating a publication.
To proceed with the Typical Deploy Click Here.
Production Environment Directories in Typical Publishing
- Production environment:
\_lib\prod
- Image directory:
\_lib\file\img
- Tmp folder:
\_lib\tmp
- File directory:
\_lib\file\doc
Advanced Publishing {id-02}
This type of publishing allows the developer to customize the location of the production environment files on the server, enabling, for example, the use of the same production environment for several projects published on the same server.
During the publishing process, the developer must specify the production environment directories and link the connection names from the development environment to the production environment. Therefore, it is recommended that the developer have a production environment with the file structure ready, so that during publishing, the correct file locations can be specified.
To proceed with the Advanced Deploy Click Here.
Prerequisites for Publishing
For applications to function correctly outside the development environment, some requirements must be followed.
- Web Server: Have a configured web server: Apache (recommended), IIS, nginx, or another;
- Database: Enable the database driver that will be used by the system. Check how to enable the driver for your database.
- Production Environment: Keep the production environment updated and compatible with the current version of the tool;
- Necessary PHP Functions: Some PHP functions must be enabled for the correct functioning of some application features. Check the list of these functions
- Compatible PHP: Have a PHP configured on the web server, compatible with the version of Scriptcase used. Check the compatibility table below.
PHP Compatibility in Development with PHP in Production
The PHP version used in the development environment directly affects the PHP version that can be used in the production environment.
See the table below.
PHP of Installation (Development) | Compatible PHP in Production Environment (Production) | ||||
---|---|---|---|---|---|
Scriptcase with PHP 7.3 | PHP 7.2 | PHP 7.3 | PHP 7.4 | ||
Scriptcase with PHP 8.1 | PHP 7.2 | PHP 7.3 | PHP 7.4 | PHP 8.0 | PHP 8.1 |