During installation process you will need:
-
Download and unpack the latest version of aurora-framework into your installation root directory (currently it's version 0.3.1)
https://github.com/afterlogic/aurora-framework/archive/0.3.1.zip
-
Download
modules.json
fromhttps://raw.githubusercontent.com/afterlogic/aurora-cloud/master/modules.json
and override existingmodules.json
in root directory. -
Download
composer.phar
fromhttps://getcomposer.org/composer.phar
-
Run composer installation process by running the following from command line:
php composer.phar install
NB: It is strongly advised to run composer as non-root user. Otherwise, third-party scripts will be run with root permissions and composer issues a warning that it's not safe. We recommend running the script as the same user web server runs under.
This will install modules described in modules.json. At this moment aurora-bundle-files repository contains configs for Files bundle build.
After that, you need to build static files for current module set.
First of all, install all npm modules via
npm install
and install gulp-cli module globaly
npm install --global gulp-cli
Now you can build static files
gulp styles --themes Default,Funny
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
gulp js:min --output app
gulp js:min --output app-files-pub --modules FilesWebclient
Upon installing the product, you'll need to configure your installation.
IMPORTANT:
- Make sure data directory is writable by web server. For example:
chown -R www-data:www-data /var/www/aurora/data
- It is strongly recommended to runs the product under https. If you run it under http, the majority of features will still be available, but some functionality aspects, such as authentication with Google account, won't work.
To enable automatic redirect from http to https, set RedirectToHttps to On in data/settings/config.json file.