Open lovebdsobuj opened 8 years ago
node app.js
command nothing happened...Hi,
node app.js
, node will be waiting for connections. Just leave it alone.sh build.sh Sample
After
node app.js
, node will be waiting for connections. Just leave it alone.
I waited minimum 5-10 minute, still nothing happened.
You don't have to wait, just leave it alone and run sh build.sh Sample
command.
README.md
updated, check it out: https://github.com/yisheng/AppScreenshot#sample
After node app.js
I leave the cmd window, and visited the screenshot preview link -
[http://localhost:3000/?app=Sample&device=3.5&index=1]() and its work.
After that I open new cmd window and run sh build.sh Sample
But I got error...
But, thanks to you, its a very nice and useful project... Hope I'll add some Android device frame...
It's because the PhantomJS binary is the Mac version.
Sorry I didn't test it on Windows yet, I'll fix it today.
@lovebdsobuj Are you using cygwin
to run sh
files?
No, i used git bash
...
It works...
I have installed latest
phantomjs
for windows. I copiedphantomjs
directory intoAppScreenshot
folder. Next I editbuild.sh
file line 12./phantomjs-1.9.2/bin/phantomjs ./phantomjs-1.9.2/examples/rasterize.js
to./phantomjs/bin/phantomjs ./phantomjs/examples/rasterize.js
and run the command line node app.js
and sh build.sh Sample
and finally it works, chrome.
N.B. No need to copy phantomjs installed directory just need to add location where installed latest phantomjs
in build.sh
.
Yes, you got it!
What does it mean? When command prompt by this command
sh build.sh YOUR_APP_NAME
I got error.