Giter Site home page Giter Site logo

pub-server's Issues

Is Windows still not supported?

I would like to try this. I'm running Win7. This would be nice -

A 1-click installer which eliminates the need to pre-install node.js and 
use the command-line is coming soon. Fixes for Windows support are also a high priority.

What goes wrong when I try to install on Windows?

markdown fragments in sub-directories

hi, am wondering if it's possible to point pub at a directory and have it parse sub directories, generating a navigation tree automatically??

Thanks

David

endless redirect in docker container

hey, thanks for your great project!

i have some weird issue trying to run this inside a docker container:

directory layout:

README.md

startup

pub -E -W -K

output

pub-server v1.10.2
source /var/app/*.{md,hbs}
pub-pkg-jquery
pub-theme-doc
pub-pkg-highlight
pub-pkg-font-awesome
starting up http://localhost:3001
listening on port 3001

so far so good, but if i try to access the page i get:

$ curl localhost:3001
Found. Redirecting to /readme

$ curl localhost:3001/readme
Found. Redirecting to /

this leads to an endless redirect.

somehow it works perfectly on my local machine (osx), so i guess the problem has todo with case sensitive filesystems inside the container (linux) or something like that...

i tried it with a readme.md but happens to be the same

feature query: commit changes to git?

I found pub-server looking for a compromise between a git-backed static site generator, and an web-editable site, like a wiki.

In other words, I want to be able to edit markdown in a git repository and have it published to a static site when I push to origin; however, I also want to allow others to edit this site and have changes committed, without forcing them to learn about git and all the rest.

Something like a markdown wiki would be nice, although the full features of a wiki aren't mandatory, just something non-technical users can use without a lot of frustration.

I've looked at some other solutions; site generators are typically editorless, and more full blown blogging software is (IMO) just too complicated and fragile, when all you really want to end up is some static content on a web server.

pub-server looks intriguing in that it almost seems to do just what I wanted, if without the wiki-style histories and page indexes. I've cloned the code, and running pub.js from within allows me to edit the markdown in the repo! But saving does not appear to commit the changes, and although I've looked through the source of pub-server and some of the pub-* dependencies, I don't see evidence that it can currently do that.

There is I think a pluggable way to publish content changes, the pub-src-* packages, am I correct? However I can't see anything which commits to git. Tentatively it looks like it will publish to the filesystem, github pages, redis, and a JSON API over HTTP. The info in these sub packages are a bit terse, so I'm a bit sketchy about that.

So my question is, is what I want to do achievable now with pub-server, or if not, with not to much effort for someone reasonably familiar with Javascript and the NodeJS toolchain?

Thanks.

install fails with node v4.x

try to install with node v4

pub-server npm install will show errors building socket.io like the following:

> [email protected] install /Users/hello/pub/server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.