-
appcreate
The appcreate.py is used to create a new independent application on the server.
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 webserver the name used of the webserver to the external world. In IIS it is called the binding. In DNS it is the A name.
Ex. www.example.comrepopath 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
}