Download Your Application’s Sources
Before you can build and deploy a visual application, download and save the application’s sources on your local system.
You can get your visual application’s sources by downloading a .zip of your visual application’s sources, cloning the Git repository containing the sources, or exporting the visual application’s sources as an archive.
-
To download a
.zipof your visual application’s sources:-
In the VB Studio left navigator, click Git
. -
On the Git page, select the Git repository that contains your application’s sources, then from the Clone drop-down list, click Download zip.
You’ll notice a
.zipfile saved to your local system in the location specified for your browser’s downloads.
-
-
To clone the Git repository that contains your visual application’s sources:
-
In the VB Studio left navigator, click Git
. -
On the Git page, select the Git repository you want to clone, then from the Clone drop-down list, click Copy to clipboard
to copy the HTTPS or the SSH URL. -
Open the Git client (say, the Git CLI).
-
Navigate to the directory where you want to clone the remote Git repository.
-
Using the Git client, clone the project’s Git repository.
For example, if you’re using the Git CLI, use the
git clone *`repository-url`*command. Use the Git repository’s URL that you copied previously.Here’s an example that uses HTTPS:
git clone https://mary.jane@vbstudio-instance.example.com/vbstudio-vboci/s/learning_demo_28288/scm/learning_demo.gitHere’s an example that uses SSH:
git clone ssh://usoracle22222.mary.jane@vbstudio-instance.example.com/vbstudio-vboci/learning_demo_28288/learning_demo.git -
Open the directory to access files.
You’ll notice a
.gitsubdirectory in the repository directory. Don’t add, delete, or modify the files of the.gitsubdirectory.
-
-
To export your visual application’s sources as an archive:
-
In the VB Studio left navigator, click Workspaces
. -
On the Workspaces page, select Export from the Actions menu for the workspace that contains the visual application you want to export.
-
In the Export Visual Application dialog, select the Include business objects data check box to include business object data in the archive that VB Studio creates.
-
Click Export.
You’ll notice a
.zipfile saved to your local system in the location specified for your browser’s downloads.
-