Adding modules

Aurora allows for installing additional modules from AfterLogic or third-party repositories.
Note that this will only work if the package was installed from repository.

To perform the installation, you'll need to supply module repository URL in modules.json file additionally to those records already there, i.e.:

{"type": "git", "url":"https://github.com/third-party-repository/aurora-module-webclient-third-party-app"} 

Install the module by running the following command:

php composer.phar update

Build static files:

1) Skins - required if module contains styles directory:

gulp styles --themes Default,Funny

2) Languages - required if module contains i18n directory:

gulp langs --langs Arabic,Bulgarian,Chinese-Simplified,Chinese-Traditional,Czech,Danish,Dutch,English,Estonian,Finnish,French,German,Greek,Hebrew,Hungarian,Italian,Japanese,Korean,Latvian,Lithuanian,Norwegian,Persian,Polish,Portuguese-Brazil,Portuguese-Portuguese,Romanian,Russian,Serbian,Slovenian,Spanish,Swedish,Thai,Turkish,Ukrainian,Vietnamese

3) JavaScript - required if module contains js directory:

gulp js:min --output app

4) Required if module contains js directory and deals with public files:

gulp js:min --output app-files-pub --modules FilesWebclient

Note that it's perfectly safe to rebuild all the static files, regardless of the specific module content and purpose. For example, if backend module doesn't contain any JavaScript code, you can still run the commands that rebuild JavaScript, that won't do any harm.