Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
almereyda opened this issue Jun 12, 2014 · 2 comments
Open

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

almereyda opened this issue Jun 12, 2014 · 2 comments

Comments

@almereyda
Copy link

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.

@constantx
Copy link

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.

@almereyda
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants