punch-blog icon indicating copy to clipboard operation
punch-blog copied to clipboard

"Preview posts, as you write them." + Nitrous tutorial

Open almereyda opened this issue 10 years ago • 2 comments

As it's written on top of the feature list, and I was looking for it:

Preview posts, as you write them.

How is that accessible? I didn't find it, neither via Live Reload nor in the punch s Website.


Additionally I was not able to run the App from Nitrous, as they wouldn't allow me to sudo npm install -g punch to have the punch command availble. Like that, it just doesn't start up.

Or I misread something.

almereyda avatar Jun 12 '14 21:06 almereyda

Additionally I was not able to run the App from Nitrous, as they wouldn't allow me to sudo npm install -g punch to have the punch command availble. Like that, it just doesn't start up.

You can install punch as a local dependency and there's a punch bin in node_modules to use.

constantx avatar Jun 13 '14 01:06 constantx

Okay, there you go:

The documentation, clearly refering to Nitrous.IO, should either be split in two parts (local or there) or include the following:

  • Punch supports a "host" key. That cannot be found via its docu either, but via the example config, so one has to have the following part for N.io:
    "server": { 
        "port": 3000,
        "host": "0.0.0.0"
    },
  • The path to run the application there will then be ./node_modules/punch/bin/punch s

Close the issue after updating the docs, if you like. Yet, my first question remains.

almereyda avatar Jun 13 '14 04:06 almereyda