Run angularjs front-end web app on codenvy

278 Views Asked by At

How do I run an angularjs front-end web app on codenvy? The app uses angular-route.js for routing between pages. I have tried using the preview function, but that one seems to not work due to the routing...

2

There are 2 best solutions below

0
nize On BEST ANSWER

One way is to use a workspace which has a web server like apache httpd installed. For how to do that see How do you install an apache server (httpd) on codenvy?

0
bianchi On

Another thing to try is to unbound the app from localhost, i.e. use host as 0.0.0.0