1. Home
  2. Tools and Features
  3. Working with mini-apps
  4. Developing a mini-app offline and uploading it to the workspace

Developing a mini-app offline and uploading it to the workspace

You can also develop mini-apps offline on your own machine before uploading it your workspace via SFTP. To make this possible, your mini-app must follow a certain structure and be archived as a .zip file.

First, create a .zip file with the following structure:

  • mini-apps # Mini-apps folder
    • my_app # Sub folder for this mini-app
      • server.r # RShiny server script
      • tile.png # (optional) App icon image (must be named)
      • ui.r # RShiny ui script
  • iris.csv # (optional) CSV file containing data to load into the workspace database
  • scripts # (optional) Folder containing files to load into the workspace Scripts folder
  • documents # (optional) Folder containing files to load into the workspace Documents folder
  • datafiles # (optional) Folder containing files to load into the workspace Datafiles folder

The created .zip archive must be placed into Data folder using SFTP. Upon upload, you will be notified as to whether the archive was uploaded successfully. Now you should be able to locate it in the Mini-apps tab in your workspace.

Updated on June 19, 2019

Was this article helpful?

Related Articles

Not the solution you were looking for?
Click the link below to submit a support ticket
CONTACT SERVICE DESK