Reputation: 1455
Are there any instructions on how to install Phantomjs on a basic windows azure account? I need to listen on a (local) port which access requests from the main application and will respond with the FULL html.
My app uses IIS. Any help would be appreciated.
p.s. How do you even start the phantomjs process and listen on a port? Is this even possible in azure?
Upvotes: 0
Views: 1237
Reputation: 954
To run phantomjs probably on windows azure you have to choose between
this guide it how to deploy nodejs as cloud service, you can replace nodejs with phantomjs https://azure.microsoft.com/en-us/documentation/articles/cloud-services-nodejs-develop-deploy-app/
You can't run phantomjs in azure website because GDI is supported yet in Azure website. but if GDI is supported just you can listen to env Port
var system = require('system');
var env = system.env;
console.log(env.port);
Upvotes: 1