Deployment - automatically configure PBX object
Good day!
I deploy my Javascript app by manually uploading the generic Javascript Runtime and the HTTP files in the AP manager in myApps. However, I need to repeat the same process in multiple environments (and some customers may need to do it, too) and each time, the PBX object of the app must be configured, an instance has to be created in the PBX and AP manager and access rights to some APIs (e.g. PbxAdminApi) also need to be granted.
What would be the best way to automate or at least shorten this process, especially since I'd like to save the customers from all the configuration hassle? Can this be set up in some kind of configuration file? I haven't managed to find anything in the docs. It'd be ideal if the could simply upload all required files and have the app ready-to-use right after.
I deploy my Javascript app by manually uploading the generic Javascript Runtime and the HTTP files in the AP manager in myApps. However, I need to repeat the same process in multiple environments (and some customers may need to do it, too) and each time, the PBX object of the app must be configured, an instance has to be created in the PBX and AP manager and access rights to some APIs (e.g. PbxAdminApi) also need to be granted.
What would be the best way to automate or at least shorten this process, especially since I'd like to save the customers from all the configuration hassle? Can this be set up in some kind of configuration file? I haven't managed to find anything in the docs. It'd be ideal if the could simply upload all required files and have the app ready-to-use right after.