Skip to content

About HRCloud2 Apps

zelon88 edited this page Nov 21, 2016 · 16 revisions

About AppLauncher

AppLauncher was designed for [HRCloud2] (https://github.com/zelon88/HRCloud2/wiki/About-HRCloud2) to provide the application with a safe and predictable opening for modular code, applications, and features. HRCloud2 Apps are unique because they are extremely simple and easy for anybody of any coding experience to make. Any web language is supported, and as an added bonus you PHP developers have access to [WordPress functions] (https://codex.wordpress.org/Function_Reference) to call in their projects. Create a WordPress website with HRCloud2 pulling the strings, or don't and run HRCloud2 as a standalone Cloud platform. Create end-user apps and install them with just a few clicks.

HRCloud2 Apps

Apps, just like on any platform, are the bread-and-butter of what you do on a specific device. With HRCloud2 Apps for your server, you can serve content to your users with simply crafted PHP, JScript, and HTML. HRCloud2 can install, uninstall, display, and manage your Apps, as well as scan them for viruses to keep your server safe.

What makes an App... An app?

Apps can be any language, but there are some special requirements that HRCloud2 scans for when looking for installed Apps. These requirements are in place to protect you, your server, your users, and the trust between end-users and developers.

The App Format

  1. An "App" must have a .php file with the SAME EXACT name as the directory for the App. (Ex: Notes/Notes.php or Calculator/Calculator.php)

  2. The "App.php" file must contain the following lines of code, adjusted for your App....

/*//

HRCLOUD2-PLUGIN-START

App Name: text

App Version: text

App License: text

App Author: text

App Description: text

App Integration: 0 or 1

HRCLOUD2-PLUGIN-END

//*/

  1. Your App MUST be open-source, with publicly available source code, a link to the official HRCloud2 Github repo, and a license that satisfies GPLv3. (if you want to distribute it or monetize it in any way).

  2. If you choose to distribute your file to others, it MUST be distributed in an archive file containing ONLY ONE FOLDER named WITH ONLY the name of the included App. (HRCloud2 will NOT launch an App with a mis-matched Directory/Naming structure)

  3. Any App documentation or Readme files MUST be included INSIDE the app folder, NOT ALONGSIDE IT in the distribution archive. This ensures the Apps directory stays clean. (as extra files add time to HRCloud2's scans)

  4. If one or more of these conditions are not met, HRCloud2 will not detect or properly install your App.