Download and unpack the latest version of WebMail Pro 8 into your installation root directory https://github.com/afterlogic/webmail-pro-8/archive/latest.zip

Download composer.phar from https://getcomposer.org/composer.phar

Start the composer installation process by running the following from the 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 under the same user web server runs under.

Set up initial config values

php composer.phar run pre-config

Next, you need to build static files for the 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,DeepForest,Funny,Sand

gulp js:min

Now you are ready to open a URL pointing to the installation directory in your favorite web browser.

It is strongly recommended to runs the product via https. If you run it via 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 true in data/settings/config.json file.

Protecting data directory:

All configuration files of the application and user data are stored in data directory, so it's important to protect data directory to make sure that nobody can access that directory over the Internet directly.