-
appcreateandconnect
A script that connect to existing application already defined and uploaded to the server and become part of that application. The serverdef and the static files will be owned by this application, but the rest of the application is owned by the one we connect to.
The command line
A script that create a new deserver definition and upload the application. This definition will be the owner of the DataEase application. All parameters given are checked for for a value and used if it has one. If not the one in extra config file given will be used.
Parameters:
name The name given to definition on the DEDS server. deploymentserver The server we want to deploy to. Ex. http://127.0.0.1:81 for local host on port 81 username Username for logging in to your deployment server password Password for logging in to your deployment server serverdef the part or rdrrXaaa.ini that have the server settings staticfiles where the static files are merged from with the database part of the server. If blank this is the same as repo path. If relative, this will be a directory under the app serverapp This one can be either a path or a name. The way we detect if it is a name or a path is if the second char is a ':'.
If it is a name it is the name of the application we connect to and by that is a part of.
If is is a path, this is the repo path on the server we are connecting to. This means you can have a application on a server that you have used as a DataEase client application and created a web application to and want to set up to use as a stand alone web application.webserver The DNS name to use for the site or the path under the owner on the server. If you give it a own DNS name like www.example.com a site will be created for this app that are independent of any others. If you set a path like /search/ then any request under the owners DNS name will by sent to this app to deal with stripped of the path name. Ex www.example.com/search/home/?&id=001 will be sent as /home/?&id=001 the this app
repopath Path to local repo to update from reponame The name of the local repo [repoun] user name for local repo [repopw] password for local repo [extra] a file path to extra definition as JSON that will be used. The supported data is the same as for appcreatefromconfig script Returns JSON:
{ "result" : 'OK", all ok app created on server "Failed" something went wrong, look in log or msg
"log" : [list of what is done],
["ds"] : "old", the script used are older than the server requires "exception" something triggered an exception when run se msg for what
["msg"] : "what went wrong", only used when something goes wrong so can we shown in error section in return gui
}