Compiling AngularJS interface: Difference between revisions

From Integrics Wiki
Jump to navigation Jump to search
Content deleted Content added
No edit summary
Replaced content with "You should follow the instructions in web/README.md on the Enswitch server."
Tag: Replaced
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
You should follow the instructions in web/README.md on the Enswitch server.
As root:

On Debian based systems:
apt-get install nodejs

On Redhat based systems:
curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
yum install nodejs

Then:
npm install
npm install -g bower
npm install -g gulp
ln -s /usr/bin/nodejs /usr/local/bin/node
bower --allow-root install
cd /opt/enswitch/current/web
gulp build

Apache can now serve from /opt/enswitch/current/web/dist/.
You can run a development version using "gulp serve".

Latest revision as of 02:36, 20 September 2024

You should follow the instructions in web/README.md on the Enswitch server.