Attention! Beginning from firmware version 0.2.18 all customizations of embedded portal is necessary to make using source codes of portal. After all customizations complete it is necessary to make compiling and minimization of source code of portal. After compiling and minization all files of portal could be placed in home directory for further image making. Source code of embedded portal, portal-dev-*.tgz is in directory with current release soft.infomir.com.ua.

Compiling of portal version 0.2.18

Download full packages of portal's source codes (portal-dev-*.tgz is in directory with current release http://soft.infomir.com.ua);

Complete necessary customizations of portal;

Make portal compiling

Place compiled portal version to rootfs directory.

Necessary packets

python-software-properties

node.js

git

npm

Installation

Example for Ubuntu Server 12.04:

apt-get install -y python-software-properties && add-apt-repository -y ppa:chris-lea/node.js apt-get update && apt-get install -y nodejs git npm

Example for Ubuntu Server 14.04:

apt-get update && apt-get install -y python-software-properties nodejs git npm

Compiling

Open tools directory (tools directory is in directory with portal source code);

Set all dependencies with running command

npm install

Run compiling script

./build.release.sh

After compiling, there will be compiled portal version in mini directory.