Codingphantom js 2.0

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Mizzy  
 To:  ALL
41586.1 
a supplier has asked if we can load this on our centos webserver for their app so it can do swish reporting, anyone used this, i have reservations with putting it on the server form a security point of view (scriptable headless web kit makes my security spidey sense tingle) but i've been told to stick it on there, 
no binary version available so building from source it's taken 2hours so far on a m3 medium instance on amazon :-(  is this normal, any gotchas i need to know about ?
0/0
 Reply   Quote More 

 From:  Matt  
 To:  Mizzy     
41586.2 In reply to 41586.1 
If you're on AWS, and you're worried about what the software might be able to do, why not spin up an instance entirely for it to run on? If it needs anything from the web-server, you can probably rsync it to the instance with PhantomJS on.

doohicky

0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  Mizzy     
41586.3 In reply to 41586.1 
Can you compile & test locally on a near/identical-spec vm?

edit: someone has (allegedly) compiled it for centos7 & made binary available:

http://garyzhu.net/notes/phantomjs-centos7.tar

----
"The general aim of these science fiction writers is to frighten the people into a state of paralysis or psychological incompetence bordering on hysteria" – FBI informant
0/0
 Reply   Quote More 

 From:  Mizzy  
 To:  CHYRON (DSMITHHFX)     
41586.4 In reply to 41586.3 
Finally built it, took about 3 hours,
It is built and run up on our test lab I haven't deployed it to prod yet,
I'm going to have a nose and see what it's capable of doing with relation to the application if I can pass the process variables via variables from within the app I'm going to recommend we don't deploy it.
Seems a messy way to grab images or screens for reports anyway, shouldn't it be using a canvas method instead ?
0/0
 Reply   Quote More 

 From:  Mizzy  
 To:  CHYRON (DSMITHHFX)     
41586.5 In reply to 41586.3 
If i can't get it from the main repo I have to get it from Git/ source and build it, can't rely on someone else's build unfortunately thanks for the link though.
0/0
 Reply   Quote More 

Reply to All    
 

1–5

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats