appname
)appname/resources
directory..sh
file in the appname/src
directory to run the executable on the file with any parameters received from the input. (Use the lines generated by the app wizard for automatically downloading any file input and uploading file output.)dx build
or dx build --create-app
(depending on whether you want to build an applet or an app).dxapp.json
file to specify it (and, optionally, the version you want). The following JSON excerpt shows you how to request APT software packages; in this case, Java, R, and the samtools packages have been requested and will be available when the app is run.--no-install-recommends
option to apt-get install
.resources
directory of your app before running dx build
. The build tool will compress and package up the contents of that directory as part of your app, and, when it is run, it will be automatically downloaded and extracted into the root directory /
. Your first steps in the code of your app should then be to perform any build or installation commands necessary.apt-get
; however, we have manually injected them into our APT repo. As a result, you can install them using method #1: the runSpec
field of the app's dxapp.json
file.openjdk-8-dbg
openjdk-8-demo
openjdk-8-doc
openjdk-8-jdk
openjdk-8-jre
openjdk-8-jre-headless
openjdk-8-jre-jamvm
openjdk-8-jre-zero
openjdk-8-source
dxapp.json
file to specify the instance type for each entry point of your app. Please see the documentation on the Run Specification for the list of available instance types and other details.dxapp.json
excerpt shows how to request larger virtual machines for both the main
and myEntryPoint
entry points of your app; any other entry points not listed in systemRequirements
will use the default virtual machine mem2_hdd2_x2
.ulimit -a
, are the following:dxapp.json
file so that the key access.network
is a list of allowed domain names. You can use "*" to indicate that you want access to everything. The following excerpt gives access (redundantly) to everything, github, and Google.dx-app-wizard
(provided in the SDK) to get you started, or add them manually (see the code examples below). A more in-depth tutorial can be found here.dx get
command to reconstruct and download the source directory of open-source apps (e.g. dx get app-cloud_workstation
). You can find open-source apps with the command below