For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
Hi All,
Basically, I want to be able to extract my application and run it locally or run it on a different server outside of VBCS. I read this blog that brushes on the topic: http://andrejusb.blogspot.com/2019/04/running-oracle-vbcs-application-on-your.html
In that blog they initiate a build job in Oracle Developer Cloud service. Currently I have Developer Cloud Service but it is only setup so I can push git updates to it. It keeps telling me "You must configure Compute & Storage before your projects will be fully functional."
Is there a guide on how I can configure Oracle Developer cloud service, can I use my free tier servers / instances for this? I keep trying to make the connections but no matter what I put in seems to be wrong.
Alternatively, if there is any step by step on exporting the application and running it locally that would help. I have read this document: https://docs.oracle.com/en/cloud/paas/app-builder-cloud/visual-builder-developer/build-your-application-locally.html#GUID-69C74B78-459F-4C9C-9075-64E1FD92D935 however I seem to have issues with the grunt vb-build portions. It keeps asking me for different details like URL, however I am trying to run it locally... obviously I am doing something wrong / silly here.
Thanks
The instructions for completing your DevCS setup to allow build automation are here:
or in the blog: Setting up Oracle Cloud Infrastructure Compute and Storage for Builds on Oracle Developer Cloud
When building locally you still need to point to the URL of your VB instance - this is used in the build process but not when you deploy your end application locally.
Quick follow up..
If someone wanted to maintain an application originally built in VBCS outside of VBCS, is this pretty much impossible?
When I downloaded the built application it just looks a lot different than straight Oracle JET. If someone learned Oracle JET (offline, no VBCS) and then inherited a VBCS created application, they would be completely lost. Unless I am wrong, all of the magic happens in the included .js files in the Index.html, such as visual-runtime.js?
VB adds a framework around JET so I would expect whoever maintains a VB app to be familiar with the framework.
If you are familiar with the framework you can edit the app outside of VB too, but JET is just used for the UI part (the HTML file in your zip). The js files are just simple javascript functions that a JET developer will be able to maintain too. The tricky part is the json files which have to do with the actual VB framework, variable definitions, action chains etc. So if you want to maintain that part get familiar with it.
Ok. Yes, I have been looking through the .json files. The javascript code that controls the action chains, etc though, where is that located? Is it the include files I listed below? Sorry for all the questions, just trying to immerse myself in the structure of everything.
Looking at the index.html there are all of the includes, such as:
<script type="text/javascript" src="https://static.oracle.com/cdn/jet/v7.1.0/3rdparty/require/require.js"></script>
<script type="text/javascript" src="https://static.oracle.com/cdn/jet/v7.1.0/default/js/bundles-config.js"></script>
<iframe id="vb-refresh-access-token-iframe" src="" style="visibility:hidden;display:none"></iframe>
<script type="text/javascript" src="https://static.oracle.com/cdn/vb/v19.3.1.12/lib/third-party-libs.js"></script>
<script type="text/javascript" src="https://static.oracle.com/cdn/vb/v19.3.1.12/visual-runtime.js"></script><noscript>
Do these javascript files all need to be downloaded if running an application completely offline? I am just trying to figure out why is absoltely required vs things that are just remnants of VBCS, etc.
The json files are parsed by the VB runtime (visual-runtime.js) and these libraries are downloaded and cached on the client for future runs.
The instructions for completing your DevCS setup to allow build automation are here:
Connect to OCI or OCI Classic
or in the blog: Setting up Oracle Cloud Infrastructure Compute and Storage for Builds on Oracle Developer Cloud
When building locally you still need to point to the URL of your VB instance - this is used in the build process but not when you deploy your end application locally.